Add missing self.object initializer
This commit is contained in:
		
					parent
					
						
							
								76e3d95135
							
						
					
				
			
			
				commit
				
					
						3ed5823c93
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1264,6 +1264,7 @@ class InvoiceDetailView(LoginRequiredMixin, DetailView):
 | 
			
		|||
 | 
			
		||||
    @method_decorator(decorators)
 | 
			
		||||
    def get(self, request, *args, **kwargs):
 | 
			
		||||
        self.object = self.get_object()
 | 
			
		||||
        context = self.get_context_data(object=self.get_object())
 | 
			
		||||
        return self.render_to_response(context)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue