Commit c7e138a7 authored by jocelyn's avatar jocelyn
Browse files

Add a dedicated NetManager()

Actually I don't know why, but I find this uncommited on
parent 338eb520
......@@ -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,
help_text=_("Will be stored in cleartext! Automatically generated if empty"))
objects = NetManager()
def full_login(self):
"""Login with realm"""
Supports Markdown
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