Add Positional Arguments to Get Next/Previous

Added filter_args array argument to be passed to get_next/previous methods.
Added extra boolean fields to project model for testing.
This commit is contained in:
Brandon Taylor committed 2018-10-06 09:46:34 -04:00
1 parent 2688003ac9
commit fabd78e5be
5 files changed
+49 -7

No files matched your search

@@ -0,0 +1,18 @@
# Generated by Django 2.1 on 2018-10-06 12:57
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('samples', '0002_auto_20180319_2117'),
]
operations = [
migrations.AddField(
model_name='project',
name='isApproved',
field=models.BooleanField(default=False),
),
]
@@ -0,0 +1,18 @@
# Generated by Django 2.1 on 2018-10-06 13:01
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('samples', '0003_project_isapproved'),
]
operations = [
migrations.AddField(
model_name='project',
name='isFunded',
field=models.BooleanField(default=False),
),
]