removed udb app

This commit is contained in:
Tor Martin Slåen committed 2011-04-22 00:25:42 +02:00
1 parent 88cca32d7d
commit 833366ad0e
5 files changed
-46

No files matched your search

View File
Whitespace-only changes.
-4
View File
@@ -1,4 +0,0 @@
from udb.models import *
from django.contrib import admin
admin.site.register(User)
-25
View File
@@ -1,25 +0,0 @@
from django.db import models
# Create your models here.
class User(models.Model):
id = models.EmailField(primary_key=True)
name = models.CharField(max_length=256)
uid = models.IntegerField(default=5000, editable=False)
gid = models.IntegerField(default=5000, editable=False)
home = models.CharField(default="/var/spool/mail/virtual", editable=False, max_length=256)
maildir = models.CharField(unique=True, max_length=255)
enabled = models.BooleanField()
change_password = models.BooleanField()
clear = models.CharField(max_length=64, default="ChangeMe")
crypt = models.CharField(max_length=64)
quita = models.IntegerField()
procmailrc = models.CharField(max_length=256, blank=True)
spamassasinrc = models.CharField(max_length=256, blank=True)
def __unicode__(self):
return self.id
-16
View File
@@ -1,16 +0,0 @@
"""
This file demonstrates writing tests using the unittest module. These will pass
when you run "manage.py test".
Replace this with more appropriate tests for your application.
"""
from django.test import TestCase
class SimpleTest(TestCase):
def test_basic_addition(self):
"""
Tests that 1 + 1 always equals 2.
"""
self.assertEqual(1 + 1, 2)
-1
View File
@@ -1 +0,0 @@
# Create your views here.