summaryrefslogtreecommitdiff
path: root/app/sightings
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-06-05 17:52:35 -0500
committerluxagraf <sng@luxagraf.net>2018-06-05 17:52:35 -0500
commit0f5fb20c28a53685867818f07b8ce1b59e594ffd (patch)
tree0f0508ce228eba887bbd80c21edea0df44ed88dc /app/sightings
parentaf4370f35a5702d7c2061de20e476bebef380d0a (diff)
fixed some bugs on live server
Diffstat (limited to 'app/sightings')
-rw-r--r--app/sightings/build.py2
-rw-r--r--app/sightings/migrations/0002_auto_20180205_1430.py5
2 files changed, 1 insertions, 6 deletions
diff --git a/app/sightings/build.py b/app/sightings/build.py
index 9ba758f..d61c78a 100644
--- a/app/sightings/build.py
+++ b/app/sightings/build.py
@@ -9,7 +9,7 @@ class BuildSightings(BuildNew):
self.build_detail_view()
self.build_list_view(
base_path=reverse("sightings:list"),
- paginate_by=18
+ paginate_by=24
)
def get_model_queryset(self):
diff --git a/app/sightings/migrations/0002_auto_20180205_1430.py b/app/sightings/migrations/0002_auto_20180205_1430.py
index e917508..d936235 100644
--- a/app/sightings/migrations/0002_auto_20180205_1430.py
+++ b/app/sightings/migrations/0002_auto_20180205_1430.py
@@ -14,11 +14,6 @@ class Migration(migrations.Migration):
name='sighting',
options={'get_latest_by': 'pub_date', 'ordering': ['-pub_date']},
),
- migrations.RenameField(
- model_name='sighting',
- old_name='date',
- new_name='pub_date',
- ),
migrations.AlterField(
model_name='apclass',
name='kind',