You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I'll have a patch for this soon, but I thought I'd make you aware. The initial syncdb will fail a couple of times (even with the --migrate flag) unless you DON'T create a superuser right away. It will resolve itself if you run the command again, but then you'll run into another issue: contrib.sites hasn't been initialized for some reason. So I did this:
./manage.py shell
from django.contrib.sites.models import Site
new_site = Site.objects.create(domain='localhost:8000', name='localhost')
print new_site.id # '1'
And added SITE_ID=1 to the settings_local.py
I'm going to try to fix your bootstrapping issue with contrib.sites, but it's been a while since I wrote installation commands. I'll hopefully have a pull by Friday.
PS: I'm foenix on irc4.oftc.net/#vhs
The text was updated successfully, but these errors were encountered:
I think I'll have a patch for this soon, but I thought I'd make you aware. The initial syncdb will fail a couple of times (even with the --migrate flag) unless you DON'T create a superuser right away. It will resolve itself if you run the command again, but then you'll run into another issue: contrib.sites hasn't been initialized for some reason. So I did this:
./manage.py shell
And added
SITE_ID=1
to thesettings_local.py
I'm going to try to fix your bootstrapping issue with contrib.sites, but it's been a while since I wrote installation commands. I'll hopefully have a pull by Friday.
PS: I'm foenix on irc4.oftc.net/#vhs
The text was updated successfully, but these errors were encountered: