Last change
on this file since 6217 was 6202, checked in by roland, 17 years ago |
changed some admin stuff in urls.py and models.py
|
File size:
438 bytes
|
Rev | Line | |
---|
[6202] | 1 | = Generate exodusmodels.dot =
|
---|
| 2 |
|
---|
| 3 | exodusmodels.dot is a graphviz file which shows the exodus database.
|
---|
| 4 |
|
---|
| 5 | Install the djangotrunk and the django_extensions
|
---|
| 6 | which can be fetched from:
|
---|
| 7 | http://code.google.com/p/django-command-extensions/
|
---|
| 8 |
|
---|
| 9 | Add 'django_extensions' to settings.py
|
---|
| 10 |
|
---|
| 11 | For compatibility with djangotrunk:
|
---|
| 12 | In models.py replace maxlength by max_length
|
---|
| 13 |
|
---|
| 14 | Using the djangotrunk execute:
|
---|
| 15 | ./manage.py graph_models exodus > exodusmodels.dot
|
---|
| 16 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.