cablegates/pandora/urlalias/models.py

16 lines
422 B
Python
Raw Normal View History

2011-01-18 15:30:49 +00:00
from django.db import models
class IDAlias(models.Model):
old = models.CharField(max_length=255, unique=True)
new = models.CharField(max_length=255)
class LayerAlias(models.Model):
old = models.CharField(max_length=255, unique=True)
new = models.CharField(max_length=255)
class Alias(models.Model):
url = models.CharField(max_length=255, unique=True)
target = models.CharField(max_length=255)