Move notfound() method to core View class
				
					
				
			This commit is contained in:
		
							parent
							
								
									5494266698
								
							
						
					
					
						commit
						0d830d595c
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -56,9 +56,6 @@ class CommonView(View): | ||||||
|     project_title = "Tailbone" |     project_title = "Tailbone" | ||||||
|     project_version = tailbone.__version__ |     project_version = tailbone.__version__ | ||||||
| 
 | 
 | ||||||
|     def notfound(self): |  | ||||||
|         return httpexceptions.HTTPNotFound() |  | ||||||
|      |  | ||||||
|     def home(self, mobile=False): |     def home(self, mobile=False): | ||||||
|         """ |         """ | ||||||
|         Home page view. |         Home page view. | ||||||
|  |  | ||||||
|  | @ -52,6 +52,9 @@ class View(object): | ||||||
|         """ |         """ | ||||||
|         return getattr(self.request, 'rattail_config', None) |         return getattr(self.request, 'rattail_config', None) | ||||||
| 
 | 
 | ||||||
|  |     def notfound(self): | ||||||
|  |         return httpexceptions.HTTPNotFound() | ||||||
|  |      | ||||||
|     def late_login_user(self): |     def late_login_user(self): | ||||||
|         """ |         """ | ||||||
|         Returns the :class:`rattail:rattail.db.model.User` instance |         Returns the :class:`rattail:rattail.db.model.User` instance | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar