sandiegopython / test-driven-django-development

This repository contains materials for a San Diego Python workshop on learning Django with test inspired development
http://test-driven-django-development.readthedocs.org/
Other
102 stars 35 forks source link

Change image re. 'python manage.py syncdb' #138

Closed riseriyo closed 9 years ago

riseriyo commented 10 years ago

e.g., Change to: $ python manage.py syncdb Operations to perform: Apply all migrations: admin, contenttypes, auth, sessions Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying sessions.0001_initial... OK

You have installed Django's auth system, and don't have any superusers defined. Would you like to create one now? (yes/no): yes Username (leave blank to use 'riseriyo'): Email address: zoidberg@example.com Password: Password (again): Superuser created successfully.

macro1 commented 9 years ago

Updated to use the new migrate command: https://github.com/pythonsd/test-driven-django-development/blob/c219041ad74572519149d0f92684e9a7f4f0b335/tutorials/01-getting-started.rst#setting-up-the-database