From 2d440f0c309f49803ec95c46d9f586a7305780cd Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 2 Apr 2018 10:44:57 -0400 Subject: changed url of sightings to dialogues --- .../migrations/0003_auto_20180307_1027.py | 22 ++++++++++++++++++++++ config/base_urls.py | 2 +- design/templates/archives/jrnl.html | 4 ---- 3 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 app/locations/migrations/0003_auto_20180307_1027.py diff --git a/app/locations/migrations/0003_auto_20180307_1027.py b/app/locations/migrations/0003_auto_20180307_1027.py new file mode 100644 index 0000000..9ee2317 --- /dev/null +++ b/app/locations/migrations/0003_auto_20180307_1027.py @@ -0,0 +1,22 @@ +# Generated by Django 2.0.1 on 2018-03-07 10:27 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('locations', '0002_checkin'), + ] + + operations = [ + migrations.AlterModelOptions( + name='location', + options={'get_latest_by': 'pub_date', 'ordering': ('-pub_date',)}, + ), + migrations.AlterField( + model_name='location', + name='pub_date', + field=models.DateTimeField(verbose_name='Date published'), + ), + ] diff --git a/config/base_urls.py b/config/base_urls.py index 7ecd472..a1bb61f 100644 --- a/config/base_urls.py +++ b/config/base_urls.py @@ -48,7 +48,7 @@ urlpatterns = [ path(r'photos/', include('photos.urls')), path(r'books/', include('books.urls')), path(r'people/', include('people.urls')), - path(r'sightings/', include('sightings.urls', namespace='sightings')), + path(r'dialogues/', include('sightings.urls', namespace='sightings')), path(r'field-notes/', include('sketches.urls', namespace='sketches')), path(r'src/', include('src.urls', namespace='src')), path(r'figments/', include('figments.urls', namespace='figments')), diff --git a/design/templates/archives/jrnl.html b/design/templates/archives/jrnl.html index e249cd3..94d1dd6 100644 --- a/design/templates/archives/jrnl.html +++ b/design/templates/archives/jrnl.html @@ -25,10 +25,6 @@

{% if object.country.name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.state.name}}, U.S.{%else%}{{object.location.name|smartypants|safe}}, {{object.country.name}}{%endif%} - - {{object.latitude}} - {{object.longitude}} - {{object.dek|safe}} -- cgit v1.2.3-70-g09d2