Adding coding tags for good measure.
This commit is contained in:
parent
0ff72f86f5
commit
2575db50bc
4 changed files with 4 additions and 0 deletions
password_required
|
@ -1,3 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
""" The password_required decorator for Django views """
|
||||
from functools import update_wrapper, wraps
|
||||
from django.contrib.auth import REDIRECT_FIELD_NAME
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from django import forms
|
||||
from django.conf import settings
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
""" The mandatory models.py to make Django consider this to be an app. """
|
||||
from django.db import models
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from django.conf import settings
|
||||
from django.contrib.auth import REDIRECT_FIELD_NAME
|
||||
from django.contrib.sites.models import Site, RequestSite
|
||||
|
|
Reference in a new issue