forked from simone/django-compositekey
-
Notifications
You must be signed in to change notification settings - Fork 0
KACAH/django-compositekey
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== Django Composite Key * Simone Federici <[email protected]> === Links: * https://github.com/simone/django-compositekey/ * https://github.com/simone/django-compositekey/wiki * http://pypi.python.org/pypi/django-compositekey/ === Sample from django.db import models from compositekey import db class Book(models.Model): id = db.MultiFieldPK("author", "name") name = models.CharField(max_length=100) author = models.CharField(max_length=100) def __unicode__(self): return u"%s (by %s)" % (self.name, self.author)
About
Django Composite Multiple PrimaryKey
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%