Commit c9fd7c9e authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix WebappParameter model

Webapp<->WebappParameter is a one-to-many relationship
parent 9b442eab
......@@ -314,7 +314,8 @@ class WebappParameter(TimeStampModel):
# Relationships
# a Webapp parameters corresponds to one webapp
webapp = models.OneToOneField(Webapp, related_name="webappparameters")
webapp = models.ForeignKey(Webapp, related_name="webappparameters",
class Meta:
db_table = 'dj_webapp_parameters'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment