| } | | } |
| } | | } |
| | | |
| now you can run syncdb: | | now you can run syncdb: |
| | | |
t | | t | Herbys-i7:simpleproject herbert$ ./manage.py s |
| | | yncdb
|
| | | Creating tables ...
|
| | | Creating table auth_permission
|
| | | Creating table auth_group_permissions
|
| | | Creating table auth_group
|
| | | Creating table auth_user_user_permissions
|
| | | Creating table auth_user_groups
|
| | | Creating table auth_user
|
| | | Creating table django_content_type
|
| | | Creating table django_session
|
| | | Creating table django_site
|
| | |
|
| | | You just installed Django's auth system, which |
| | | means you don't have any superusers defined.
|
| | | Would you like to create one now? (yes/no): ye |
| | | s
|
| | | Username (leave blank to use 'herbert'):
|
| | | E-mail address: a@b.com
|
| | | Password:
|
| | | Password (again):
|
| | | Superuser created successfully.
|
| | | Installing custom SQL ...
|
| | | Installing indexes ...
|
| | | Installed 0 object(s) from 0 fixture(s)
|
| | |
|
| | | Because i am on Mac OSX i got the "ValueError: unk |
| | | nown locale: UTF-8" error, so i actually ran:
|
| | |
|
| | | LC_CTYPE="en_US.UTF-8" ./manage.py syncdb
|
| | |
|
| | | but i don't think this should be necessary often.. |
| | |
|
| | |
|
| | | Ok, now after our syncdb the default django projec |
| | | t should be stable and we can run it:
|
| | |
|
| | |
|
| | | Herbys-i7:simpleproject herbert$ ./manage.py r |
| | | unserver
|
| | | Validating models...
|
| | |
|
| | | 0 errors found
|
| | | Django version 1.4b1, using settings 'simplepr |
| | | oject.settings'
|
| | | Development server is running at http://127.0. |
| | | 0.1:8000/
|
| | | Quit the server with CONTROL-C.
|
| | |
|
| | | I guess this was not too exciting for anyone, sinc |
| | | e you already use django, so let's go ahead!
|
| | |
|
| | | # Sphene Community Tools
|
| | |
|
| | | ## Installation
|
| | |
|
| | | First of all you have to install SCT (the communit |
| | | ytools project) - you can either download it and r |
| | | un setup.py or use the GIT version from https://gi |
| | | thub.com/hpoul/sct-communitytools
|
| | |
|
| | | I usually prefer to have the GIT version, so i che |
| | | cked it out into the same directory and added the |
| | | 'sct-communitytools/sphenecoll' path to the PYTHON |
| | | _PATH.
|
| | |
|