Started port to Django 2.1, Python 3, Docker
This commit is a rough port to Django 2.1, Python 3 and a Docker based local development setup. Tests fail/error but migrations and the web frontend are already runnable. Task queue functionality is untested and translations seem to have trouble.
This commit is contained in:
parent
adc57657dd
commit
6cebd80c89
48 changed files with 1081 additions and 576 deletions
|
@ -34,9 +34,10 @@ class Website(models.Model):
|
|||
subdomain = models.CharField(
|
||||
_('sub domain'), max_length=64)
|
||||
osuser = models.ForeignKey(
|
||||
OsUser, verbose_name=_('operating system user'))
|
||||
OsUser, verbose_name=_('operating system user'),
|
||||
on_delete=models.CASCADE)
|
||||
domain = models.ForeignKey(
|
||||
HostingDomain, verbose_name=_('domain'))
|
||||
HostingDomain, models.CASCADE, verbose_name=_('domain'))
|
||||
wildcard = models.BooleanField(_('wildcard'), default=False)
|
||||
|
||||
class Meta:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue