UNKNOWN
Project description
django-abstract-utils
Currently, this library provides only one method that operates on Django abstract model class:
without (or AbstractClassWithoutFieldsNamed) - create a subclass of an abstract Django model class with certain fields removed
This was ripped off from someone’s Gist. Feel free to submit a PR with authorship!
Installation
pip install django_abstract_utils
Usage
from django_abstract_utils import without
from oscar.apps.address.abstract_models import AbstractBillingAddress
class BillingAddress(without(AbstractBillingAddress, 'phone_number')):
pass
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.
Source Distribution
Close
Hashes for django-abstract-utils-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7213a692547e7244234c2cdd90863c21ad637dc206608d00cae0a529917e3e42 |
|
MD5 | 8a821d881b91d20f37baafd3bbe049be |
|
BLAKE2b-256 | 1a013b9cd60e9d3402dd19d1cecb14aaf0ce552cafaa0d60bfd14d713bcb2cdc |