Permalink
Browse files

updates for django 1.9

  • Loading branch information...
1 parent 4fe1f1b commit ab93b63c2c26ef20b35f620bb77fadf25b889738 @tamarmot tamarmot committed Feb 8, 2016
Showing with 5 additions and 8 deletions.
  1. +2 −2 geocamFolder/models.py
  2. +3 −6 geocamFolder/urls.py
@@ -15,7 +15,7 @@
from django.utils.http import urlquote
from geocamUtil.models.UuidField import UuidField
-from geocamUtil.models.ExtrasField import ExtrasField
+from geocamUtil.models.ExtrasDotField import ExtrasDotField
from django.conf import settings
# pylint: disable=C1001,E1101
@@ -173,7 +173,7 @@ class Folder(models.Model):
parent = models.ForeignKey('self', null=True, db_index=True)
notes = models.TextField(blank=True)
uuid = UuidField(db_index=True)
- extras = ExtrasField()
+ extras = ExtrasDotField()
class Meta:
app_label = 'geocamFolder'
@@ -4,10 +4,7 @@
# All Rights Reserved.
# __END_LICENSE__
-from django.conf.urls import patterns, url
+from django.conf.urls import url
-urlpatterns = patterns(
- '',
-
- url(r'^$', 'views.index', name='index'),
-)
+urlpatterns = [url(r'^$', 'views.index', name='index'),
+ ]

0 comments on commit ab93b63

Please sign in to comment.