Add '+dev' suffix to all versions on about page
This commit is contained in:
		
							parent
							
								
									b5c81244ac
								
							
						
					
					
						commit
						db9deffaa6
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -13,13 +13,15 @@ import rattail_demo | |||
| class CommonView(base.CommonView): | ||||
| 
 | ||||
|     project_title = "Rattail Demo" | ||||
|     project_version = rattail_demo.__version__ | ||||
|     project_version = rattail_demo.__version__ + '+dev' | ||||
| 
 | ||||
|     def get_packages(self): | ||||
|         import rattail_tempmon | ||||
| 
 | ||||
|         packages = super(CommonView, self).get_packages() | ||||
|         packages['rattail-tempmon'] = rattail_tempmon.__version__ | ||||
|         for key in packages: | ||||
|             packages[key] = packages[key] + '+dev' | ||||
|         return packages | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar