Notice
Recent Posts
Recent Comments
Link
목록resister (1)
완숙의 블로그
admin.py, models.py, resister
admin.py 장고의 admin 패널을 사용할 수 있게 된다. @admin.register(models.Room) class RoomAdmin(admin.ModelAdmin): """ Room admin Definition """ fieldsets = ( ( "Basic Info", {"fields": ("name", "description", "country", "address", "price")}, ), ("Times", {"fields": ("check_in", "check_out", "instant_book")}), ("Spaces", {"fields": ("guests", "beds", "bedrooms", "baths",)}), ( "More About the Space", { "classe..
Programing Language/Web_Django
2020. 1. 10. 12:21