error 500 fixed
This commit is contained in:
		
					parent
					
						
							
								a792911dea
							
						
					
				
			
			
				commit
				
					
						db3955ab94
					
				
			
		
					 3 changed files with 4 additions and 4 deletions
				
			
		|  | @ -58,7 +58,7 @@ | ||||||
| .order-detail-container h4 { | .order-detail-container h4 { | ||||||
|     font-size: 16px; |     font-size: 16px; | ||||||
|     font-weight: bold; |     font-weight: bold; | ||||||
|     margin-bottom: 15px; |     margin-bottom: 10px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .order-detail-container p { | .order-detail-container p { | ||||||
|  |  | ||||||
|  | @ -96,12 +96,12 @@ | ||||||
|                         {% comment %} |                         {% comment %} | ||||||
|                         <p> |                         <p> | ||||||
|                             <span>{% trans "Period" %}</span> |                             <span>{% trans "Period" %}</span> | ||||||
|                             <span class="pull-right">{{vm.cpu}}</span> |                             <span class="pull-right">{{}}</span> | ||||||
|                         </p> |                         </p> | ||||||
|                         {% endcomment %} |                         {% endcomment %} | ||||||
|                         <p> |                         <p> | ||||||
|                             <span>{% trans "Cores" %}</span> |                             <span>{% trans "Cores" %}</span> | ||||||
|                             <span class="pull-right">{{vm.cpu}}</span> |                             <span class="pull-right">{{vm.cores}}</span> | ||||||
|                         </p> |                         </p> | ||||||
|                         <p> |                         <p> | ||||||
|                             <span>{% trans "Memory" %}</span> |                             <span>{% trans "Memory" %}</span> | ||||||
|  |  | ||||||
|  | @ -644,7 +644,7 @@ class OrdersHostingDetailView(LoginRequiredMixin, | ||||||
|     model = HostingOrder |     model = HostingOrder | ||||||
| 
 | 
 | ||||||
|     def get_object(self): |     def get_object(self): | ||||||
|         return HostingOrder.objects.filter( |         return HostingOrder.objects.get( | ||||||
|             pk=self.kwargs.get('pk')) if self.kwargs.get('pk') else None |             pk=self.kwargs.get('pk')) if self.kwargs.get('pk') else None | ||||||
| 
 | 
 | ||||||
|     def get_context_data(self, **kwargs): |     def get_context_data(self, **kwargs): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue