2011-06-02 19:16:16 +01:00
|
|
|
from django.db import models
|
2020-05-28 04:54:53 +01:00
|
|
|
from troggle.core.models_caves import Cave, Entrance
|
2011-06-02 19:16:16 +01:00
|
|
|
|
2020-07-22 22:14:35 +01:00
|
|
|
# class Redirect(models.Model):
|
|
|
|
# originalURL = models.CharField(max_length=200, unique=True)
|
|
|
|
# newURL = models.CharField(max_length=200)
|
2011-07-11 00:13:06 +01:00
|
|
|
|
2020-07-22 22:14:35 +01:00
|
|
|
# class EntranceRedirect(models.Model):
|
|
|
|
# originalURL = models.CharField(max_length=200)
|
|
|
|
# entrance = models.ForeignKey(Entrance,on_delete=models.CASCADE)
|
|
|
|
# def __str__(self):
|
|
|
|
# return self.entrance.slug
|