Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
update the part 1 of Django Tutorial perhaps
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
XIE Enming  
View profile  
 More options Nov 13 2012, 9:07 am
From: XIE Enming <enmi...@gmail.com>
Date: Tue, 13 Nov 2012 06:07:05 -0800 (PST)
Local: Tues, Nov 13 2012 9:07 am
Subject: update the part 1 of Django Tutorial perhaps

Hi, guys:
            I had followed the part 1 of Django Tutorial, and when I went
to Part 2, I got this error:  "DoesNotExist at /admin/", just like this one
:
https://groups.google.com/forum/?fromgroups=#!topic/django-users/o2Fp...
            The reason is that I should add in the table "django_site" of
my database : domain and name, I did it : insert into django_site (domain,
name) values ("ncegcolnx270", "mysite");   And it works.   But this point,
the Tutorial 1 doesn't say...... How can I perhaps help update the Tutorial
1 of Django?
            Thanks

Best regards


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jirka Vejrazka  
View profile  
 More options Nov 13 2012, 4:55 pm
From: Jirka Vejrazka <jirka.vejra...@gmail.com>
Date: Tue, 13 Nov 2012 22:54:11 +0100
Local: Tues, Nov 13 2012 4:54 pm
Subject: Re: update the part 1 of Django Tutorial perhaps

>            The reason is that I should add in the table "django_site" of

my database : domain and name, I did it : insert into django_site (domain,
name) values ("ncegcolnx270", "mysite");   And it works.   But this point,
the Tutorial 1 doesn't say...... How can I perhaps help update the Tutorial
1 of Django?

Hi there,

  this table should have been automatically created once you ran the
"manage.py syncdb" command. It is part of the 'django.contrib.sites'
application which is enabled by default in your settings.py.

  Maybe you accidentally commented it out of your settings.py?

  HTH

    Jirka


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vibhu Rishi  
View profile  
 More options Nov 13 2012, 11:49 pm
From: Vibhu Rishi <vibhu.ri...@gmail.com>
Date: Wed, 14 Nov 2012 10:18:55 +0530
Local: Tues, Nov 13 2012 11:48 pm
Subject: Re: update the part 1 of Django Tutorial perhaps

for admin access you also need to uncomment the lines in the installed apps
for Admin.

I agree with Jirka, it should be created by running syncdb. I have been
playing around with django for sometime now and the default tutorials work
like a charm.

V.

On Wed, Nov 14, 2012 at 3:24 AM, Jirka Vejrazka <jirka.vejra...@gmail.com>wrote:

--
Simplicity is the ultimate sophistication. - Leonardo da Vinci
Life is really simple, but we insist on making it complicated. - Confucius

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
XIE Enming  
View profile  
 More options Nov 14 2012, 9:27 am
From: XIE Enming <enmi...@gmail.com>
Date: Wed, 14 Nov 2012 06:27:07 -0800 (PST)
Local: Wed, Nov 14 2012 9:27 am
Subject: Re: update the part 1 of Django Tutorial perhaps

But I had already run   "python manage.py syncdb"  before, bizarre.
Thanks for your responses.

Le mardi 13 novembre 2012 22:55:14 UTC+1, JirkaV a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Babatunde Akinyanmi  
View profile  
 More options Nov 14 2012, 11:36 am
From: Babatunde Akinyanmi <tundeba...@gmail.com>
Date: Wed, 14 Nov 2012 17:35:56 +0100
Local: Wed, Nov 14 2012 11:35 am
Subject: Re: update the part 1 of Django Tutorial perhaps
Why not manually drop the database for your project and syncdb again.
Also make sure you have the admin app included in your installed apps
settings

On 11/14/12, XIE Enming <enmi...@gmail.com> wrote:

--
Sent from my mobile device

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
XIE Enming  
View profile  
 More options Nov 15 2012, 9:12 am
From: XIE Enming <enmi...@gmail.com>
Date: Thu, 15 Nov 2012 06:12:15 -0800 (PST)
Local: Thurs, Nov 15 2012 9:12 am
Subject: Re: update the part 1 of Django Tutorial perhaps

Thanks, I will do this next time when I create new project, now it is fine.
Yes, admin app is included in the installed apps settings

Le mercredi 14 novembre 2012 17:36:39 UTC+1, Tundebabzy a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »