Django Development Fabfile
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
If you are on Django < 1.6, put the following code in your fabfile/__init__.py:
# 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 *
If you are on Django >=1.6, put the following code in your fabfile/__init__.py:
import os
os.environ.setdefault(
"DJANGO_SETTINGS_MODULE", "myproject.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.
Python 3
Please note, that fabric isn’t working with Python 3. Please use fabric3 instead.
Metadata
Release files for django-development-fabfile 2.14.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-development-fabfile-2.14.14.tar.gz | 12.6 kB | Without provenance | Details for django-development-fabfile-2.14.14.tar.gz |
Release files / django-development-fabfile-2.14.14.tar.gz
| Download URL | django-development-fabfile-2.14.14.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
848bbad622c49d5ef158862f6564da450121c305e2287bd03e344926995ba144
|
|
BLAKE2b-256 checksum How to use checksums |
cc71fb58a54320ea2100264d17ca4ba4fe23d863688cf7cb48a97e823539a5c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-development-fabfile 2.14.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.