From 0f5fb20c28a53685867818f07b8ce1b59e594ffd Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 5 Jun 2018 17:52:35 -0500 Subject: fixed some bugs on live server --- app/sightings/build.py | 2 +- app/sightings/migrations/0002_auto_20180205_1430.py | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'app/sightings') 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', -- cgit v1.2.3-70-g09d2