No description
django_lsd | ||
.gitignore | ||
README | ||
setup.py |
# django-lsd integrate LSD into your django app # settings.py in settings set LSD_ITEM to your item model i.e.: LDS_ITEM="item.models.Item" and add "django_lsd" to INSTALLED_APPS # add this to urls.py import ox.django.api.urls urlpatterns += patterns('', (r'^api/?$', include(ox.django.api.urls)), ) # custom models If you set a custom model via LSD_ITEMS, the referenced model needs the following rows: sha1 = models.CharField(max_length=40, unique=True) info_hash = models.CharField(max_length=40, unique=True, null=True) data = ox.django.fields.DictField(default={}, editable=False)