fix padma.jsonc and adjust whats needed to get it running

This commit is contained in:
j 2011-12-05 14:48:59 +01:00
commit c930383b32
12 changed files with 93 additions and 45 deletions

View file

@ -15,6 +15,14 @@ class LayerAlias(models.Model):
def __unicode__(self):
return u"%s=%s" % (self.old, self.new)
class ListAlias(models.Model):
old = models.CharField(max_length=255, unique=True)
new = models.CharField(max_length=255)
def __unicode__(self):
return u"%s=%s" % (self.old, self.new)
class Alias(models.Model):
url = models.CharField(max_length=255, unique=True)
target = models.CharField(max_length=255)