Library with common code for Django
Project description
Django Stuff is a collection of tools and utilities to make your development with Django simpler.
Requirements
- Python 3.x
- Django 1.11 or later
Features
- Signals Add methods in your model to do any task before or after save your model
- TimeStamp and History models to giving you information like when your record wore created/updated and History Changes
- UUID Model as primary key or not instead of sequence ID.
- Serializer model to return a dict with all data of your django instance. Ex:
instance.serialize()
- And many other stuff. For more information, see our documentation following the link below.
How to install
Getting It
You can get Django Stuff by using pip:
$ pip install django-stuff
If you want to install it from source, grab the git repository from Gitlab and run setup.py:
$ git clone git@github.com:rhenter/django_stuff.git
$ cd django_stuff
$ python setup.py install
Installing It
To enable django_stuff in your project you need to add it to INSTALLED_APPS in your projects settings.py file:
INSTALLED_APPS = ( ... 'django_stuff', ... )
Documentation
Check out the latest django-stuff documentation at Read the Docs
Contributing
Please send pull requests, very much appreciated.
- Fork the repository on GitHub.
- Make a branch off of master and commit your changes to it.
- Install requirements. pip install -r requirements-dev.txt
- Install pre-commit. pre-commit install
- Run the tests with py.test -vv -s
- Create a Pull Request with your contribution
Project details
Release history Release notifications | RSS feed
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_stuff-0.1.7-py3-none-any.whl (10.2 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size django-stuff-0.1.7.tar.gz (17.7 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for django_stuff-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35e97ddf79f19131dd2dd27b11884c450ca4e05f89800e0c4bfd32bc4c9c3691 |
|
MD5 | 2e45f1d70ed5b2e7729d8bb027fe7ae8 |
|
BLAKE2-256 | 8bc422e338284c3e94641c26566017db5ba62e6db4acb651692b0a262b97db8b |