bug in the code wherein form = ModelForm(request.POST, request.FILES, obj) should have been form = ModelForm(request.POST, request.FILES, instance=obj)
Constants added:
ADMIN_CONFIRM_CACHE_KEY_PREFIX for the FileCache
ADMIN_CONFIRM_DEBUG which will control internal logging for the module (mostly added this for easier debugging for myself)
ADMIN_CONFIRM_CACHE_TIMEOUT changed from default 10 -> 1000
There are a bunch of changes here.
form = ModelForm(request.POST, request.FILES, obj)
should have beenform = ModelForm(request.POST, request.FILES, instance=obj)
Constants added:
ADMIN_CONFIRM_CACHE_KEY_PREFIX
for the FileCacheADMIN_CONFIRM_DEBUG
which will control internal logging for the module (mostly added this for easier debugging for myself)ADMIN_CONFIRM_CACHE_TIMEOUT
changed from default 10 -> 1000Other major changes:
Other notes:
Relates to: #27