-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
api for post upload #888
base: main
Are you sure you want to change the base?
api for post upload #888
Conversation
a4aa599
to
d7df699
Compare
d6e3dc4
to
e9bbc04
Compare
e9bbc04
to
d4df778
Compare
…ot just tokens otherwise, we'd have to generate a token for our frontend
eab4414
to
b5e31e9
Compare
e9b2bdb
to
f00b8e1
Compare
I've split up models and views by froide/froide/foirequest/serializers.py Lines 138 to 144 in f00b8e1
|
f00b8e1
to
11d17c4
Compare
11d17c4
to
dc2cd58
Compare
7a04422
to
d23a17e
Compare
workaround since restframework doesn't support read & create only, see encode/django-rest-framework#8606
since we now use a create-publish flow, changing the request reference is safe for drafts
d23a17e
to
7c7e499
Compare
notable changes:
foirequest/api_views.py
into multiple files. this is a breaking change i.e. for froide-campaign and froide-food. checkout their respective branches for testing:CreateOnlyWithScopePermission
, so that regular authentication can also be used. please review carefully, see df7b5a3ts client example: