Closed yedpodtrzitko closed 11 years ago
Try to save it with title photo. I though that title photo is not mandatory but maybe there was a change in api. How should it be - mandatory or optional?
I'm not able to add photo in this moment, because photo's modal is broken .(
ad photo: I'm not sure, but I think it should reflect model properties - photo is not mandatory in model so it shouldn't be required in form as well. Also I can imagine an editor's use case, when he wants to save (unpublished) article without photo.
does not work for me
ok, so it depends on source
for real. I'm not sure why, because source
has attributes blank=True
and null=True
.
So I added source
as required and article can be saved now.
yep, but to have source
as a mandatory field is not expected/desired behaviour.
response for article's save request says:
POST http://localhost:8000/admin-api/article/ 404 NOT FOUND
POST:
RESPONSE: