2 ms·
I'm going to go out on a limb and guess that you haven't yet discovered application templates? If you have, then feel free to disregard this message. If you'v
by bmelton 13y ago
I'm going to go out on a limb and guess that you haven't yet discovered application templates? If you have, then feel free to disregard this message.
If you've got a bunch of project boilerplate, you can start a new, empty project, configure it to your boilerplate scenario, and then save that as a template for future projects.
Then, the next time you start a new Django app, you'd do something like this:
virtualenv project_name; cd project_name;
. ./bin/activate
django-admin.py startproject --template=/Users/username/Django-templates/boilerplate project_name
pip install -r project_name/requirements.txt