class Library(models.Model):\r
"""Represent a single library in the libraries dictionary"""\r
\r
- #slug = models.SlugField(_('slug'), max_length=120, unique=True, db_index=True)\r
- name = models.CharField(_('name'), max_length=120, blank=True)
- url = models.CharField(_('url'), max_length=120, blank=True)
- description = models.TextField(_('description'), blank=True)\r
+ name = models.CharField(_('name'), max_length = 120, blank = True)
+ url = models.CharField(_('url'), max_length = 120, blank = True)
+ description = models.TextField(_('description'), blank = True)\r
\r
class Meta:\r
verbose_name = _('library')\r
-from django.conf.urls.defaults import *
+from django.conf.urls.defaults import patterns, url
urlpatterns = patterns('libraries.views',