diff --git a/django/didgeridoo/currencies/models.py b/django/didgeridoo/currencies/models.py index 76fb711..9f420fb 100644 --- a/django/didgeridoo/currencies/models.py +++ b/django/didgeridoo/currencies/models.py @@ -28,4 +28,4 @@ class ExchangeRate(models.Model): class Meta: # https://simpleisbetterthancomplex.com/tips/2016/10/06/django-tip-17-earliest-and-latest.html - get_latest_by = 'name__name' + get_latest_by = 'name__name' diff --git a/django/didgeridoo/currencies/urls.py b/django/didgeridoo/currencies/urls.py index 0ef97bf..aa24648 100644 --- a/django/didgeridoo/currencies/urls.py +++ b/django/didgeridoo/currencies/urls.py @@ -1,7 +1,6 @@ from django.conf.urls import url from currencies.views import currencies, currency_update - urlpatterns = [ url(r'^currencies/$', currencies), url(r'^ajax/currency_update/$',