Martin v. Löwis added the comment:

The "official" way seems to be the SQL shell of django, so I did

roundup@psf:~/trackers/tracker/rietveld$ python manage.py shell

>>> from django.contrib.sites.models import Site
>>> Site.objects.create(name='bugs.python.org', domain='bugs.python.org')
<Site: bugs.python.org>

I should have specified the id, but it turns out that django automatically used 
ID 1.

----------
status: chatting -> resolved

_______________________________________________________
PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue488>
_______________________________________________________
_______________________________________________
Tracker-discuss mailing list
Tracker-discuss@python.org
https://mail.python.org/mailman/listinfo/tracker-discuss

Reply via email to