Python formatting
This commit is contained in:
parent
2883c42534
commit
63558bb75e
4 changed files with 7 additions and 9 deletions
|
@ -3,10 +3,12 @@ from django.core.management.base import BaseCommand
|
|||
|
||||
from bookwyrm import models
|
||||
|
||||
|
||||
def get_admin_code():
|
||||
"""get that code"""
|
||||
return models.SiteSettings.objects.get().admin_code
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
"""command-line options"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue