-
Notifications
You must be signed in to change notification settings - Fork 16
Home
simone edited this page Nov 11, 2011
·
17 revisions
- Use Django with embedded database that have composite multicolumn primary key and multiple foreignkeys
- Low coupling with this specific API
from compositekey import db
class Blog(models.Model:
id = db.MultipleFieldPrimaryKey(fields=["title", "author"])
title = models.CharField(max_length=100)
author = models.CharField(max_length=100)
- Django Query API (filters and exclude)
- Standard ForeignKey API (OneToOne and ManyToMany)
- Automatical Related Objects
- Forms integration
- Admin (no admin patch required)
- Django 1.4-beta or Trunk
- django regression testing
- new features tests
- Generation of the schema -> low priority when you have an embedded database
- Command inspectdb