diff options
author | Michael Elkins <melkins@tislabs.com> | 2011-02-12 19:01:43 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2011-02-12 19:01:43 +0000 |
commit | 43b9e68b691428e366b2a781f71f2d104a9300ec (patch) | |
tree | aa14e86a4a77d5b74b92f6dcc7b28a88e0a55234 /rpkid/rpki/gui/app | |
parent | 1debe25fe1b7497e71032a7af53bb1f4258633d6 (diff) |
do not require the host to be set while editing in the django admin interface
svn path=/rpkid/rpki/gui/app/models.py; revision=3678
Diffstat (limited to 'rpkid/rpki/gui/app')
-rw-r--r-- | rpkid/rpki/gui/app/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/gui/app/models.py b/rpkid/rpki/gui/app/models.py index 5279e3b5..43714682 100644 --- a/rpkid/rpki/gui/app/models.py +++ b/rpkid/rpki/gui/app/models.py @@ -41,7 +41,7 @@ class Conf(models.Model): owner = models.ManyToManyField(User) # NULL if self-hosted, otherwise the conf that is hosting us - host = models.ForeignKey('Conf', related_name='hosting', null=True) + host = models.ForeignKey('Conf', related_name='hosting', null=True, blank=True) def __unicode__(self): return self.handle |