This commit is contained in:
Ivan Hörler 2018-01-14 23:39:20 +01:00
parent 7ff173d9c7
commit 2a1a565f90
2 changed files with 1 additions and 2 deletions

View File

@ -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'

View File

@ -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/$',