Pytohn formatting
This commit is contained in:
parent
6e3a203b46
commit
abde06a700
|
@ -7,13 +7,13 @@ from django.db import migrations
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('bookwyrm', '0056_auto_20210321_0303'),
|
("bookwyrm", "0056_auto_20210321_0303"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name='user',
|
model_name="user",
|
||||||
name='discoverable',
|
name="discoverable",
|
||||||
field=bookwyrm.models.fields.BooleanField(default=False),
|
field=bookwyrm.models.fields.BooleanField(default=False),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -23,7 +23,7 @@ class Directory(View):
|
||||||
discoverable=True,
|
discoverable=True,
|
||||||
bookwyrm_user=True,
|
bookwyrm_user=True,
|
||||||
is_active=True,
|
is_active=True,
|
||||||
).order_by('-last_active_date')
|
).order_by("-last_active_date")
|
||||||
paginated = Paginator(users, 12)
|
paginated = Paginator(users, 12)
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
|
|
Loading…
Reference in New Issue