From a239e92f83a56b9f9951594bcb4774c0f8f4d500 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Wed, 8 May 2013 16:38:47 +0200 Subject: [PATCH] cleanup --- apps/libraries/models.py | 7 +++---- apps/libraries/urls.py | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) 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', -- 2.20.1