Make PEP8 cleanup of line spaces and character distances as well as indents
This commit is contained in:
parent
7ff783fea1
commit
b278337172
189 changed files with 2039 additions and 1583 deletions
|
|
@ -2,6 +2,7 @@ from django import template
|
|||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.filter(name='addclass')
|
||||
def addclass(field, given_class):
|
||||
existing_classes = field.field.widget.attrs.get('class', None)
|
||||
|
|
|
|||
|
|
@ -14,19 +14,19 @@ from evennia.web.website import views as website_views
|
|||
admin.autodiscover()
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', website_views.page_index, name="index"),
|
||||
url(r'^tbi/', website_views.to_be_implemented, name='to_be_implemented'),
|
||||
url(r'^$', website_views.page_index, name="index"),
|
||||
url(r'^tbi/', website_views.to_be_implemented, name='to_be_implemented'),
|
||||
|
||||
# User Authentication (makes login/logout url names available)
|
||||
url(r'^authenticate', include('django.contrib.auth.urls')),
|
||||
# User Authentication (makes login/logout url names available)
|
||||
url(r'^authenticate', include('django.contrib.auth.urls')),
|
||||
|
||||
# Django original admin page. Make this URL is always available, whether
|
||||
# we've chosen to use Evennia's custom admin or not.
|
||||
url(r'django_admin/', website_views.admin_wrapper, name="django_admin"),
|
||||
# Django original admin page. Make this URL is always available, whether
|
||||
# we've chosen to use Evennia's custom admin or not.
|
||||
url(r'django_admin/', website_views.admin_wrapper, name="django_admin"),
|
||||
|
||||
# Admin docs
|
||||
url(r'^admin/doc/', include('django.contrib.admindocs.urls'))
|
||||
]
|
||||
# Admin docs
|
||||
url(r'^admin/doc/', include('django.contrib.admindocs.urls'))
|
||||
]
|
||||
|
||||
if settings.EVENNIA_ADMIN:
|
||||
urlpatterns += [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue