Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A model from which all django models can extend. Gives some additional utility functions

Project Description
--------------------------------------------------------------------------------


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
Release History

Release History

This version
History Node

0.2.2

History Node

0.2.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_base_model-0.2.2.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source Sep 8, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting