Godocs flash1/4/2024 In short class names should follow Pascal Camel Case so they they should LookLikeThis while variable names should follow Snake Case and should look_like_this. It makes them easier to read and understand. O sistema GoDocs tem como objetivo tornar possível o gerenciamento eletrônico de documentos de uma forma simples e rápida através de qualquer dispositivo eletrônico. If you still get some error, comment below.Īlso on side note you should follow pep8 naming convention your naming your class and variables. this loop will get all the student_course of this student Return render(request,"html/tables.html", d) Godox V860II-S Flash for Sony, 2.4G Wireless GN60 TTL 1/8000s HSS Camera Flash Speedlite, with Rechargable Li-ion Battery, External Flash Speedlight Compatible for Sony DSLR Cameras. Instead of querying all objects of student_course model, query the list of all students in your view like this: def table(request): If student select 3 course then I got only one row of this student and both 3 course in one column like this (python,business, php+) Buy Godox V1 Flash for Sony featuring Compatible with Sony ADI / P-TTL, Output: 76Ws, Auto Zoom Control, Zoom Range: 28-105mm, 2.4 GHz Wireless X-System Transmitter, Built-In LED Modeling Lamp, Tilts -7 to 120°, Rotates 330°, Round Flash Head Design, Magnetic Light Modifier Attachment, 1. Return render(request,"html/tables.html",d)Īll is work properly, I got my result like this Além disso, o Godocs é assegurado pelo decreto 10.278/2020 que regulamenta o descarte de documentos após seguirem os requisitos para a digitalização. In the student_admission table I save the student informationsĪnd in the course_content table course list is saved if student submit this form then he select course in my course_content list they are also select multiple course this course I save in student_course tableĪnd I show this data on my website using this view function def table(request):ĭata = student_().prefetch_related("Student_id","Course_id") I ended up ordering a go docs soft box and it is much better for what I need. Student_id= models.ForeignKey(student_admission,on_delete=None)Ĭourse_id = models.ForeignKey(course_content,on_delete=None) Can be used with flashes and some studio flash lights with umbrella hole. Occupation = models.CharField(max_length= 50)įatherPhone = models.IntegerField(default=20)Įmail = models.EmailField(max_length= 100)Ĭourse = models.CharField(max_length= 100) Semester = models.CharField(max_length= 100) Gender = models.CharField(max_length= 50)Īddress = models.CharField(max_length= 250)Ĭollege = models.CharField(max_length= 250)īranch = models.CharField(max_length= 50) Student = models.CharField(max_length= 50)įather = models.CharField(max_length= 50) I am new in django and I created 3 tables for data class student_admission(models.Model):
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |