Please how do I fix this error that comes up when loading data. See the
error message below.
Thanks
Traceback (most recent call last):
File
"/app/.heroku/python/lib/python3.9/site-packages/django/contrib/contenttypes/models.py",
line 19, in get_by_natural_key
ct = self._cache[self.db][(
I am creating a CRUD application. The create, read and delete function are
working but edit record is showing the instance in the form* but it is not
saving changes.*
*Here is my code.*
*===*
*views.py*
def edit(request, id):
student = Student.objects.get(id=id)
form = StudentForm
2 matches
Mail list logo