Extension to Django base model and Django base Manager
License
rogeliorv/django_base_model
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
-------------------------------------------------------------------------------- django_base_model Extensions to the Django Base Model and Django Model Manager/ Requires Python 2.5 or later. Website: http://rogeliorv.github.com/ Git Repository: http://github.com/rogeliorv/django_base_model.git -------------------------------------------------------------------------------- To make use of the classes in this package: 1) Create your own django project (python django-admin.py startproject) 2) Create a django application (python manage.py startproject sampleapp) 3) Add your newly created application to INSTALLED_APPS in settings.py 3) In models.py add the following lines from django_base_model import ExtendedBaseModel, ExtendedBaseModelManager from django.db import models class ExampleModel(ExtendedBaseModel): text = models.CharField(max_length = 256) objects = ExtendedBaseModelManager() -------------------------------------------------------------------------------- How to contribute a patch: 1. Fork django_base_model on github.com 2. Create a new branch 3. Commit changes to this branch 4. Send a pull request
About
Extension to Django base model and Django base Manager
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published