These are chat archives for django/django
process_request()pull it out of your request data instead of the cookie. I’m not sure why you’re looking at the db backend for it, but it’s just a normal query set. In the
load()function, it’s calling
Session.objects.get(session_key), so if it doesn’t exist, it’ll return
None, just like any other query set.
Newbie question! I'd like to create a form to input patient data in order to store them in a database, I already have this, my question is how to create a new form that requests either the ID or patient name and then make it search in the database in order to pour the record contents into a view, for the user to be able to edit and update (if needed), could you recommend me any tutorial?
I've been looking for a while, but I can't seem to find exactly what I'm looking for, thanks in advance! :smile: