summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/locations/migrations/0003_auto_20180307_1027.py22
-rw-r--r--config/base_urls.py2
-rw-r--r--design/templates/archives/jrnl.html4
3 files changed, 23 insertions, 5 deletions
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 @@
<p>
<span class="p-location h-adr adr post--location" itemprop="contentLocation" itemscope itemtype="http://schema.org/Place">
{% if object.country.name == "United States" %}<span class="p-locality locality">{{object.location.name|smartypants|safe}}</span>, <a class="p-region region" href="/jrnl/united-states/" title="travel writing from the United States">{{object.state.name}}</a>, <span class="p-country-name">U.S.</span>{%else%}<span class="p-region">{{object.location.name|smartypants|safe}}</span>, <a class="p-country-name country-name" href="/jrnl/{{object.country.slug}}/" title="travel writing from {{object.country.name}}">{{object.country.name}}</a>{%endif%}
- <span style="display: none;" itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
- <data itemprop="latitude" class="p-latitude" value="{{object.latitude}}">{{object.latitude}}</data>
- <data itemprop="longitude" class="p-longitude" value="{{object.longitude}}">{{object.longitude}}</data>
- </span>
</span> &ndash;
<span class="p-summary entry-summary hyphenate" itemprop="description">
{{object.dek|safe}}