|
Last change
on this file since 6246 was 6229, checked in by roland, 17 years ago |
|
Fixed add nic error:
return "%s-%s.%s.%s" % (desc, nic.iface, node.name, node.network.domainname)
didnot work because nic.iface doesnot exist yet. Changed "nic.iface" to "nic"
|
|
File size:
630 bytes
|
| Line | |
|---|
| 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 |
|
|---|
| 17 | = Debug Django =
|
|---|
| 18 |
|
|---|
| 19 | Install django_extensions, see above for installation description.
|
|---|
| 20 | Install Werkzeug from: http://werkzeug.pocoo.org/download
|
|---|
| 21 |
|
|---|
| 22 | Using werkzeug:
|
|---|
| 23 | $ ./manage.py runserver_plus
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.