Skip to main content

A handy utility app that helps bootup django quick and secure

Project description


A custom Django Bootup helps with repetitive tasks of running a clean project.

Current features:
1. Disables syncdb prompting the creation of a superuser
2. Latches on the post_syncdb signal and once syncdb is complete, it starts bootstrapping the site
3. It loads up any fixtures at a specified directory in your
a. any valid fixture file will be loaded, with or without the initial_ prefix
b. fixture directory is different than that of Django and set by: INITIAL_FIXTURES_DIRS
4. It creates a superuser with pk=1
a. user credentials defined in private or local
5. It creates four sites, production, integration, localhost and a local_ip
a. site credentials defined in private or local

Patches welcome:


If you want a worry free django bootup process, then this is for you.

Here what you need to do:

1. Stick ``"bootup"`` in ``INSTALLED_APPS``. After all other Django specific Apps
2. Create the following in your or or

# superuser credentials
ADMIN_NAME = "your superuser name"
MAIN_PASS = "your superuser password?"
ADMIN_EMAIL = "your superuser email address"

# few sites you might need
'1': {
'name': 'production',
'domain': ""
'name': 'integration', # (optional)
'domain': ""
'3': {
'name': 'localhost', # development on local system (optional)
'domain': 'localhost:8080'
'name': 'internal', # development on local or remote system (headless vmware!) (optional)
'domain': ''

# all valid fixture files in this directory will be loaded up regardless of whether they start with
# initial_ or not
INITIAL_FIXTURES_DIRS = "/some/real/path/to/your/fixtures"

That's it.
Run syncdb on an empty database and enjoy

Note: No action is taken on any of the above definitions unless they are found in
Also: Any existing user at pk=1 will be updated to superuser
Any existing sites might be updated depending of pk of the site object

clean up readme
add more goodies

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-bootup-0.4.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page