mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
* Fixed a circular import raised only when using commands like 'manage.py syncdb'
12 lines
361 B
Python
12 lines
361 B
Python
from django.db import models
|
|
from django.contrib.auth.models import User
|
|
|
|
class Parameter(models.Model):
|
|
name = models.CharField(max_length=255)
|
|
value = models.CharField(max_length=255)
|
|
|
|
class UserParameter(models.Model):
|
|
user = models.ForeignKey("auth.User")
|
|
name = models.CharField(max_length=255)
|
|
value = models.CharField(max_length=255)
|