Metadata-Version: 2.1
Name: drizm-django-commons
Version: 0.3.1.1
Summary: Django commons for the Drizm organization
Home-page: https://github.com/drizm-team/django-commons
License: MIT
Keywords: commons,django
Author: ThaRising
Author-email: kochbe.ber@gmail.com
Maintainer: Dominik Lewandowski
Maintainer-email: dominik.lewandow@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.1
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Dist: django (==3.1.1)
Requires-Dist: djangorestframework (==3.12.1)
Requires-Dist: drf-yasg (>=1.20.0,<2.0.0)
Project-URL: Repository, https://github.com/drizm-team/django-commons
Description-Content-Type: text/markdown

# Django Commons
[![PyPI version](https://badge.fury.io/py/drizm-django-commons.svg)](https://badge.fury.io/py/drizm-django-commons)

This package includes shared code used by
the Drizm organizations development team.  

It is not intended for public usage but you
may still download, redistribute or 
modify it to your liking.

## Installation

Install:  
>pip install drizm-django-commons

Once installed through pip, include
the app in your settings.py like so:  
INSTALLED_APPS += ["drizm_django_commons"]  

In order to use the applications
manage.py commands you must include the
app at the top of the INSTALLED_APPS list.

Import like so:  
import drizm_django_commons

## Documentation

### Custom Management Commands

#### startapp

This version of startapp has been adjust to
play well together with the
Drizm-Django-Template file structure.

Apart from that it is not majorly
divergent from the default commands
functionality.

#### maketest

Automagically creates boilerplate for a
Integration Test for a given application.

## Changelog

### 0.2.1

- Added HrefModelSerializer which will
serialize primary keys to hyperlinks
- Moved testing.py dependencies to
drizm-commons package utilities

### 0.2.2

- Fixed a bug with view selection for
SelfHrefField

### 0.3.0

- Rework startapp command for better
default file / folder structure
- Add maketest <app-name> command
to quickly generate boilerplate
for tests
- Integrate DRF-yasg documentation
into Serializer Fields
- Reduced boilerplate and added
additional code comments for
serializer fields
- Add HexColor field
- Fix issue with implicit
view_name retrieval on SelfHrefField

### 0.3.1

- Added Image and File validators

