From: Aleksander Ɓukasz Date: Wed, 8 May 2013 14:38:47 +0000 (+0200) Subject: cleanup X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/a239e92f83a56b9f9951594bcb4774c0f8f4d500 cleanup --- diff --git a/apps/libraries/models.py b/apps/libraries/models.py index d8a54a8a5..ff2afc07e 100644 --- a/apps/libraries/models.py +++ b/apps/libraries/models.py @@ -4,10 +4,9 @@ from django.utils.translation import ugettext_lazy as _ class Library(models.Model): """Represent a single library in the libraries dictionary""" - #slug = models.SlugField(_('slug'), max_length=120, unique=True, db_index=True) - name = models.CharField(_('name'), max_length=120, blank=True) - url = models.CharField(_('url'), max_length=120, blank=True) - description = models.TextField(_('description'), blank=True) + name = models.CharField(_('name'), max_length = 120, blank = True) + url = models.CharField(_('url'), max_length = 120, blank = True) + description = models.TextField(_('description'), blank = True) class Meta: verbose_name = _('library') diff --git a/apps/libraries/urls.py b/apps/libraries/urls.py index a3d90316b..5b13dc526 100644 --- a/apps/libraries/urls.py +++ b/apps/libraries/urls.py @@ -1,4 +1,4 @@ -from django.conf.urls.defaults import * +from django.conf.urls.defaults import patterns, url urlpatterns = patterns('libraries.views',