Statistics
| Branch: | Tag: | Revision:

root / longerusername / __init__.py @ 62d0c01e

History | View | Annotate | Download (182 Bytes)

1
from django.conf import settings
2

    
3
def MAX_USERNAME_LENGTH():
4
    if hasattr(settings,"MAX_USERNAME_LENGTH"):
5
        return settings.MAX_USERNAME_LENGTH
6
    else:
7
        return 255