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 <enmingx@gmail.com> wrote:
> 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 :
>>
>> > 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 received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/lvP58o0ZvhQJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Sent from my mobile device
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home