A fabfile to ease many tasks during development and deployment of Django projects.
Project description
A fabfile to ease many tasks during development and deployment of Django projects.
Installation
Just add django-development-fabfile to your requirements.txt and install it via pip install -r requirements.txt.
Then create the following files in your project root (usually the folder where your manage.py file resides):
fabfile/ -- __init__.py -- your_own_fab_tasks.py
In your fabfile/__init__.py put the following code:
# flake8: noqa from myproject import settings from django.core.management import setup_environ setup_environ(settings) from development_fabfile.fabfile import * from .your_own_fab_tasks import *
In your settings.py at the very bottom add the following:
from fabfile_settings import * # NOQA
Then create a fabfile_settings.py next to your settings.py and add all necessary settings. As a starting point you can copy the fabfile_settings.py.sample of this project and change all values to your project.
Project details
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size django-development-fabfile-2.7.1.tar.gz (8.7 kB) | File type Source | Python version None | Upload date | Hashes View hashes |
Hashes for django-development-fabfile-2.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0302172e8ca9326f86e39b27daefd05f26e534fa5da8cb90d31e6d7c1e60549c |
|
MD5 | acd32665ae43ae18634806960746c286 |
|
BLAKE2-256 | 3fe2af1a433d58c8d23ed8079c4cd99772cfdb6aa8352b2dcc3237aba66cb9ac |