Re: Problem with Django tutorial

2012-04-05 Thread Rahul Katragadda
> > [04/Apr/2012 14:36:13] "GET */admin/admin/css/*base.css HTTP/1.1" 404 3861 > [04/Apr/2012 14:36:13] "GET */admin/admin/css/*dashboard.css HTTP/1.1" > 404 3876 Is this directory (in bold) correct? On 5 April 2012 00:19, maxim wrote: > Continuing on in the tutorial, I got to the part where i

Re: Problem with Django tutorial

2012-04-04 Thread maxim
Continuing on in the tutorial, I got to the part where it explains how to use the admin site. It seems that after enabling the admin, it cannot find the css files it uses, so the web page looks very strange. When making a request for an admin page I get the following output from the runserver:

Re: Problem with Django tutorial

2012-04-04 Thread maxim
Ah, thank you. Your answer fixed the problem. On Wednesday, 4 April 2012 13:25:19 UTC-4, JoeLinux wrote: > > The correct answer is that the default project layout has changed. See my > previous email. Let me know if that works! > -- > Joey "JoeLinux" Espinosa* > * >

Re: Problem with Django tutorial

2012-04-04 Thread Joey Espinosa
The correct answer is that the default project layout has changed. See my previous email. Let me know if that works! -- Joey "JoeLinux" Espinosa* * On Wed, Apr 4, 2012 at 1:24 PM, maxim wrote: > No

Re: Problem with Django tutorial

2012-04-04 Thread Joey Espinosa
Which settings.py file are you modifying? I had this problem at first too when I didn't read about Django's changes from 1.3 to 1.4. Here's an excerpt from https://docs.djangoproject.com/en/1.4/releases/1.4/#updated-default-project-layout-and-manage-py : Django 1.4 ships with an updated default p

Re: Problem with Django tutorial

2012-04-04 Thread maxim
No, I tried removing the file, creating it with touch and I also used sqlite3 to create a table in there to make sure it actually has some database in there: sqlite3 /home/maxim/mysite/mysite.db SQLite version 3.6.23.1 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqli

Re: Problem with Django tutorial

2012-04-04 Thread creecode
Opps... On Wednesday, April 4, 2012 10:19:13 AM UTC-7, creecode wrote: > > > It looks like are are on some kind of unix/linux variant so you probably > have a touch command. > That should have been "It looks like you are on..." -- You received this message because you are subscribed to the G

Re: Problem with Django tutorial

2012-04-04 Thread creecode
Hello maxim, On Wednesday, April 4, 2012 9:51:39 AM UTC-7, maxim wrote: I can't get the tutorial working for me. When I try to run the command: > python manage.py syncdb > > My settings file has this for databases: > > 'NAME': '/home/maxim/mysite/mysite.db', # O

Re: Problem with Django tutorial

2012-04-04 Thread maxim
Yes On Wednesday, 4 April 2012 13:12:27 UTC-4, JoeLinux wrote: > > Are you using Django 1.4? > -- > Joey "JoeLinux" Espinosa* > * > > > > > > On Wed, Apr 4, 2012 at 12:51 PM, maxim wrote: > >> I can

Re: Problem with Django tutorial

2012-04-04 Thread Joey Espinosa
Are you using Django 1.4? -- Joey "JoeLinux" Espinosa* * On Wed, Apr 4, 2012 at 12:51 PM, maxim wrote: > I can't get the tutorial working for me. When I try to run the command: > python manage.py

Problem with Django tutorial

2012-04-04 Thread maxim
I can't get the tutorial working for me. When I try to run the command: python manage.py syncdb I get this error: Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py