File tree Expand file tree Collapse file tree
webapp/autoDeploy/autodeploy Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,13 +9,6 @@ def __unicode__(self):
99 return self .name
1010
1111
12- class working_directory (models .Model ):
13- name = models .CharField (max_length = 50 ,primary_key = True )
14- path = models .CharField (max_length = 1000 )
15-
16- def __unicode__ (self ):
17- return self .name
18-
1912class Server (models .Model ):
2013 name = models .CharField (max_length = 50 ,primary_key = True )
2114 ip = models .CharField (max_length = 50 )
@@ -59,14 +52,19 @@ class Deployment_Server(models.Model):
5952 deployed = models .BooleanField (default = True )
6053 class Meta :
6154 get_latest_by = "id"
55+ plural_name = "Deployment_Server"
6256
6357class Plugins (models .Model ):
6458 name = models .CharField (max_length = 50 )
6559 settings = models .TextField ()
60+ class Meta :
61+ plural_name = "Plugins"
6662
6763
6864class User_Project (models .Model ):
6965 user = models .ForeignKey (User )
7066 project = models .ForeignKey (Project )
7167 def __unicode__ (self ):
7268 return "%s -- %s" % (self .user .username ,self .project_id )
69+ class Meta :
70+ plural_name = "Users_Projects"
You can’t perform that action at this time.
0 commit comments