Comments (5)
Amit Upadhyay said: (64 months ago)
You should mention that django comes with bash completion support for django's django-admin.py and manage.py!
Chris said: (64 months ago)
Yea, but I've never found typing the command the difficult bit. ;)
Good additional point though.
David, biologeek said: (64 months ago)
Clever, I hadn't thought about that but it will make my life easier, thanks.
William McVey said: (62 months ago)
I do most of my django app development outside of site's startproject directory hierarchy. I've found that it's actually quite nice to be able to execute 'manage.py' in whatever directory I happen to be in at the time using python's -m option. For example:
python -m manage syncdb
This depends on my PYTHONPATH being set up correctly, but really liberates me from being constrained to a particular "project directory".
owen said: (61 months ago)
how isntruct manage.py syncdb inner the file example:
from django.db import models
from juan import manage
manage.py syncdb
class Editorial(models.Model):
nombre = models.CharField(maxlength=30)
Res at my email: owen-2345@hotmail.com