Commit 4845b2e9 authored by jocelyn's avatar jocelyn

Add a dedicated NetManager()

Actually I don't know why, but I find this uncommited on test-coin.illyse.org
VM…
parent 5c77962e
......@@ -5,6 +5,8 @@ from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
from netfields import InetAddressField, NetManager
import ldapdb.models
from ldapdb.models.fields import CharField, ListField
......@@ -67,6 +69,7 @@ class DSLConfiguration(CoinLdapSyncMixin, Configuration):
password = models.CharField(max_length=256, blank=True,
verbose_name=_("password"),
help_text=_("Will be stored in cleartext! Automatically generated if empty"))
objects = NetManager()
def full_login(self):
"""Login with realm"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment