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 { | ||||
|     font-size: 16px; | ||||
|     font-weight: bold; | ||||
|     margin-bottom: 15px; | ||||
|     margin-bottom: 10px; | ||||
| } | ||||
| 
 | ||||
| .order-detail-container p { | ||||
|  |  | |||
|  | @ -96,12 +96,12 @@ | |||
|                         {% comment %} | ||||
|                         <p> | ||||
|                             <span>{% trans "Period" %}</span> | ||||
|                             <span class="pull-right">{{vm.cpu}}</span> | ||||
|                             <span class="pull-right">{{}}</span> | ||||
|                         </p> | ||||
|                         {% endcomment %} | ||||
|                         <p> | ||||
|                             <span>{% trans "Cores" %}</span> | ||||
|                             <span class="pull-right">{{vm.cpu}}</span> | ||||
|                             <span class="pull-right">{{vm.cores}}</span> | ||||
|                         </p> | ||||
|                         <p> | ||||
|                             <span>{% trans "Memory" %}</span> | ||||
|  |  | |||
|  | @ -644,7 +644,7 @@ class OrdersHostingDetailView(LoginRequiredMixin, | |||
|     model = HostingOrder | ||||
| 
 | ||||
|     def get_object(self): | ||||
|         return HostingOrder.objects.filter( | ||||
|         return HostingOrder.objects.get( | ||||
|             pk=self.kwargs.get('pk')) if self.kwargs.get('pk') else None | ||||
| 
 | ||||
|     def get_context_data(self, **kwargs): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue