Skip to content

Commit

Permalink
Update Plural Names
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed ElKalioby committed Oct 9, 2018
1 parent 85d52f3 commit 21f5cbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapp/autoDeploy/autodeploy/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ class Deployment_Server(models.Model):
deployed=models.BooleanField(default=True)
class Meta:
get_latest_by="id"
plural_name="Deployment_Server"
verbose_name_plural="Deployment_Server"

class Plugins(models.Model):
name=models.CharField(max_length=50)
settings=models.TextField()
class Meta:
plural_name = "Plugins"
verbose_name_plural = "Plugins"


class User_Project(models.Model):
Expand All @@ -67,4 +67,4 @@ class User_Project(models.Model):
def __unicode__(self):
return "%s -- %s"%(self.user.username,self.project_id)
class Meta:
plural_name = "Users_Projects"
verbose_name_plural = "Users_Projects"

0 comments on commit 21f5cbf

Please sign in to comment.