Re: New to DJANGO

80 views
Skip to first unread message

LJ

unread,
Jun 22, 2012, 12:37:56 AM6/22/12
to django...@googlegroups.com
I started out learning Django using the "Writing your first Django app" article:
https://docs.djangoproject.com/en/dev/intro/tutorial01/
This is a very well-written tutorial that goes through each part in detail.
Please note, at the bottom of each section there is a link to the next section.  There are 3 parts.
Part 2 shows how to create the urls.py.
Part 3 shows how to create the views.py.
I'm sure there are other tutorials out there, but I haven't seen any that are better for getting started.
There are also some good books out there that have examples.  You could get used books for pretty cheap on Amazon, or even get a free trial to use Safari for 30 days:
http://my.safaribooksonline.com/

On Thursday, June 21, 2012 5:52:52 PM UTC-6, Jeff Silverman wrote:
I am new to Django.  I am trying to get the Class version of hello_world to work.  I cannot find a good full example of the code that works.  I have made multiple view.py files and urls.py files trying to get it to work.  I cannot seem to come up with the right url to pass the variables name and times in.  I am using soaplib among other libraries.  Pretty much trying anything I find.

Can anyone point out a full urls.py, views.py and url combination that works?  Ultimately, I want to use the wsdl to expose the funtions to NINTEX workflows.

Any thing will be helpful.

Thomas Lockhart

unread,
Jun 22, 2012, 1:15:05 AM6/22/12
to django...@googlegroups.com
On 12-06-21 9:37 PM, LJ wrote:
> I started out learning Django using the "Writing your first Django
> app" article:
> https://docs.djangoproject.com/en/dev/intro/tutorial01/
> This is a very well-written tutorial that goes through each part in
> detail.
+1 anyone starting with Django is wasting time if they do not go through
the tutorial as a first step. They will end up there anyway sooner or
later...

- Tom

Lachlan Musicman

unread,
Jun 24, 2012, 4:29:23 PM6/24/12
to django...@googlegroups.com
On Thu, Jun 21, 2012 at 9:37 PM, LJ <ljay...@gmail.com> wrote:
> I started out learning Django using the "Writing your first Django app"
> article:
> https://docs.djangoproject.com/en/dev/intro/tutorial01/
> This is a very well-written tutorial that goes through each part in detail.
> Please note, at the bottom of each section there is a link to the next
> section.  There are 3 parts.
> Part 2 shows how to create the urls.py.
> Part 3 shows how to create the views.py.


The tutorial has expanded to 4 lessons and I cannot recommend it
highly enough - is one of the best introductions available for new
users.

I regularly go back to it to look over and keep my eye in.

cheers
L.
Message has been deleted

Russell Keith-Magee

unread,
Jun 26, 2012, 7:35:07 PM6/26/12
to django...@googlegroups.com
On Tue, Jun 26, 2012 at 9:59 PM, alvaroalo <alva...@gmail.com> wrote:
> I support the other users' opinion.
>
> - Try checking the Django tutorial from the very first step
> - You can also follow "The Definitive Guide to Django", which is 90% mainly
> based on the Django Tutorial
>
> <DOWNLOAD LINK REDACTED>

We *will not* tolerate the use of official Django forums to support
the illegal distribution of copyrighted work -- especially when you're
violating the copyright of members of this community.

The Django Book is available for free online [1]. However, the PDF is
NOT freely distributable.

You have been warned. If you make another attempt to use a Django
forum for the purposes of illegally distributing copyrighted work, you
will be banned from posting to this list.

[1] http://djangobook.com

Yours,
Russ Magee %-)

Kurtis Mullins

unread,
Jun 26, 2012, 9:51:52 PM6/26/12
to django...@googlegroups.com
> We *will not* tolerate the use of official Django forums to support
> the illegal distribution of copyrighted work -- especially when you're
> violating the copyright of members of this community.
>
> The Django Book is available for free online [1]. However, the PDF is
> NOT freely distributable.
>
> You have been warned. If you make another attempt to use a Django
> forum for the purposes of illegally distributing copyrighted work, you
> will be banned from posting to this list.
>
> [1] http://djangobook.com


I'm not trying to defend the potentially-illegal distribution of the
material. However, after reading this response, I took a quick look at
the Django Book's license. It seems it's covered under two separate
licensing schemes, both shown on this page:
http://www.djangobook.com/license/

The first part is the initial copyright at the top of the page. It
seems to indicate that you cannot redistribute this material without
written consent. Clear enough.

However, scroll down a bit -- or even looking at the link from the
main page -- it appears to be covered under the GNU Free Documentation
License.  And I quote: "to assure everyone the effective freedom to
copy and redistribute it, with or without modifying it, either
commercially or noncommercially."

So, does this fall under the GNU Documentation License or the author's
Copyright block? They cannot work together (incompatible) unless it is
dual licensed -- in which case, I believe alvaroalo would have been
well within his rights to make this slight modification and
distribution effort.

Kurtis Mullins

unread,
Jun 26, 2012, 9:56:14 PM6/26/12
to django...@googlegroups.com
Actually, turns out I just had to read a bit more :) Sorry!

So, the actual content of the Django Book is allowed to be freely
re-distributed under the GNU Free Documentation License. The actual
"Layout and design" remains under the control of the authors and
required written permission to reproduce. I did not see the
distributed content but I'll leave the up to you guys to determine
whether or not that user is violating this portion of the licensing.

Russell Keith-Magee

unread,
Jun 26, 2012, 10:09:02 PM6/26/12
to django...@googlegroups.com
As far as I could make out, what was being distributed in this case
was the official APress PDF, which is protected layout and design.

Yours,
Russ Magee %-)
Reply all
Reply to author
Forward
0 new messages