Django – concatenate all the groups for each post
I have 2 model in my Django app:
I have problem whe loading this page in django project
enter image description here- it shows like this when i run the program
Django: unexpected keyword arguements when trying to create new object
i’m trying to create a new object but i keep getting an error message “player_team() got unexpected keyword arguments: ‘player’, ‘team'”
Django prefetch_related nested filter
Got classes of Student, StudentGroup, Pair(double lesson), Mark and a queryset:
Django reverse ForeignKey returns None
I have Student and Mark models in different apps of one project.
Creating two separate models for patient and doctor using Django
I want to create registration as a patient and as a doctor such that when user login my website they get two options(as patient or as doctor).How to achieve this using Django?
Registration form has different fields for Doctor and Patient.