Skip to main content

PyPI latest PyPI Version PyPI License CicleCI Status Coverage Docs

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

Example using Pre-save signal

Note: This will be made before you save your model

from django_stuff.models import SignalsModel
...

class YourModel(SignalsModel)
    ...
    def pre_save(self):
        do_something()
  • 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.

  • Backend to Login using email or username.

  • And many other stuff. For more information, see our documentation at Read the Docs.

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.

  1. Fork the repository on GitHub.

  2. Make a branch off of master and commit your changes to it.

  3. Install requirements. pip install -r requirements-dev.txt

  4. Install pre-commit. pre-commit install

  5. Run the tests with cd test-django-project; py.test -vv -s

  6. Create a Pull Request with your contribution

Metadata

Release files for django-stuff 0.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-stuff 0.7.2
File Size Uploaded Provenance Actions
django-stuff-0.7.2.tar.gz 19.0 kB Without provenance Details for django-stuff-0.7.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-stuff 0.7.2
File Interpreter ABI Platform Actions
django_stuff-0.7.2-py3-none-any.whl Python 3 none any Details for django_stuff-0.7.2-py3-none-any.whl

Total release size: 32.3 kB

Release files / django-stuff-0.7.2.tar.gz

Download URL django-stuff-0.7.2.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
987ce8306885a0bf0baeca7db5ed05fb3fa34c01d6ab5feac7a19f8cc0c61bda
BLAKE2b-256 checksum
How to use checksums
ba80fa56474e8e04a9502d1ee06b953c909c9b3d24289ef4dc4ba9a7a8f3f1c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Release files / django_stuff-0.7.2-py3-none-any.whl

Download URL django_stuff-0.7.2-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ca179395e7c13d4bfa9b0075fbb403af6f288f88db001ffbe2588f97d99a7a9
BLAKE2b-256 checksum
How to use checksums
c947a551f37cc37e276395908f5fd0ee87699a764704a8893ef32ab65ba5a17f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0

Security for django-stuff 0.7.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page