Re: Setting up Django for the first time, urls.py and settings.py

2017-10-02 Thread Kishore Srinivas
Always have the documentation with you while following the old tutorials.when I was starting Django I had big problems while using a tutorial in Django 1.7 with Django 1.10, nothing worked, but using documentation you can pretty much find what had changed -- You received this message because

Re: Setting up Django for the first time, urls.py and settings.py

2017-10-01 Thread Jani Tiainen
Hi. Urls changed so that you can't pass view as a string anymore. If you're looking good tutorial Django Girls do have one. And it's using recent djangi. 1.10.2017 2.40 ip. "drone4four" kirjoitti: > I’m playing with Django for the first time. I am using a gui

Setting up Django for the first time, urls.py and settings.py

2017-10-01 Thread drone4four
I’m playing with Django for the first time. I am using a guide called, “Python from Scratch - Creating a Dynamic Website <https://www.youtube.com/watch?v=bRnm8f6Wavk>” by [b]Tuts+ Code[/b] from YouTube. It’s kinda old. It was first posted in November 2011 and Django has e

Re: Django for the first time

2012-05-16 Thread MEL
After setting PYTHONPATH to my and PATH to /django/bin (here is django-admin.py), I could run "django-admin.py startproject 'sitename' from command line :-) Thank you! -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion o

Re: Django for the first time

2012-05-16 Thread MEL
After setting PYTHONPATH to my and PATH to /django/bin (here is django-admin.py), I could run "django-admin.py startproject 'sitename' from command line :-) Thank you! kl. 13:02:52 UTC+2 onsdag 16. mai 2012 skrev MEL følgende: > > Can anyone help me ? > Can't even create my first site in the

Re: Django for the first time

2012-05-16 Thread Tom Evans
On Wed, May 16, 2012 at 12:02 PM, MEL wrote: > Can anyone help me ? > Can't even create my first site  in the tutorial :-( > > Python 2.7.3 (default, Apr 20 2012, 22:39:59) > [GCC 4.6.3] on linux2 > Type "copyright", "credits" or "license()" for more information. import sys sys.path.appe

Re: Django for the first time

2012-05-16 Thread Marcin Tustin
Some of these are python, and some of these are shell commands. If you are not familiar with python, then try a short tutorial before attempting to learn django. On Wed, May 16, 2012 at 12:02 PM, MEL wrote: > Can anyone help me ? > Can't even create my first site in the tutorial :-( > > Python

Django for the first time

2012-05-16 Thread MEL
Can anyone help me ? Can't even create my first site in the tutorial :-( Python 2.7.3 (default, Apr 20 2012, 22:39:59) [GCC 4.6.3] on linux2 Type "copyright", "credits" or "license()" for more information. >>> import sys >>> sys.path.append("/home/morten/django") >>> import django >>> print djang