From 2a1a565f9007e8f131d17b6e3476dd8875f132e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Ho=CC=88rler?= Date: Sun, 14 Jan 2018 23:39:20 +0100 Subject: [PATCH] typos --- django/didgeridoo/currencies/models.py | 2 +- django/didgeridoo/currencies/urls.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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/$',