This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Pol.lessire
/
projet_bilan_simple
forked from
fabien.toune/projet_bilan_simple
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
added price field in admin for plats
Pol
Lapin-Blanc
3 years ago
parent
8b4a8a3573
commit
f7159050d8
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
site_ecole/repas/admin.py
+ 1
- 0
site_ecole/repas/admin.py
View File
@@ -4,6 +4,7 @@ from django.contrib import admin
class PlatInline(admin.TabularInline):
model = Plat
extra = 1
readonly_fields = ['prix_total']
class EvenementAdmin(admin.ModelAdmin):
fieldsets = (
Write
Preview
Loading…
Cancel
Save