A PHP Error was encountered
Severity: Notice
Message: Undefined index: userid
Filename: views/question.php
Line Number: 191
Backtrace:
File: /var/www/html/cnasolution/application/views/question.php
Line: 191
Function: _error_handler
File: /var/www/html/cnasolution/application/controllers/Questions.php
Line: 419
Function: view
File: /var/www/html/cnasolution/index.php
Line: 315
Function: require_once
How to add more model Field in Django based on input from HTML [closed]
I want to to make a website where a user gives some value and based on it more fields are created. Like for
If the user gives input as 8 ,then eight fields are added in admin of Django
class watched(models.Model): watched = models.BooleanField(default = False)
Then create a webpage for marking which episodes have been watched and not.