Please forget about the persisting data part. 
The problem is that inside the parent form i dont have access to the 
related data and the formsets new related data is validated after the 
parent models data.
Inside the formset every related data model does not have access to the 
other related instances.

I want to have additional validation after all data on the admin page has 
been processed .. not necessarily saved into the database, but i need some 
way of doing additional validation after the basic stuff has been taken 
care of by the admin and its form.



Am Sonntag, 26. August 2018 18:44:17 UTC+2 schrieb Jason:
>
> I still don't understand why you want to persist unvalidated data to the 
> db then?  if a user requests the data in mid-update, that's something that 
> can be handled with transaction locks on the db.  so when that happens, the 
> request will wait till the locks are released before executing the db query
>
>
> https://stackoverflow.com/questions/42520917/does-django-atomic-transaction-lock-the-database
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6aa2f0c1-eb89-46fa-8b19-6d4a6927405b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to