Skip to content

Commit

Permalink
Merge pull request #137 from uploadcare/update-uc-links
Browse files Browse the repository at this point in the history
Update links to the Uploadcare site
  • Loading branch information
Zmoki committed Apr 25, 2018
2 parents 26dba3b + 1345c3f commit e7100b8
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Unreleased
~~~~~

- Update bundled widget to version ``3.3.0``. See `widget changelog`_.
- Update links to the Uploadcare site

2.4.0
~~~~~
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ being uploaded asynchronously.
photo = ImageField(blank=True, manual_crop="")
# optional. provide advanced widget options: https://uploadcare.com/documentation/widget/#configuration
# optional. provide advanced widget options: https://uploadcare.com/docs/uploads/widget/config/#options
class CandidateForm(forms.Form):
photo = ImageField(widget=FileWidget(attrs={
'data-cdn-base': 'https://cdn.super-candidates.com',
Expand Down Expand Up @@ -114,8 +114,8 @@ Contributors
.. _simple steps: https://pyuploadcare.readthedocs.org/en/latest/quickstart.html
.. _Sławek Ehlert: https://github.com/slafs
.. _Travis CI: https://travis-ci.org/uploadcare/pyuploadcare
.. _REST: https://uploadcare.com/documentation/rest/
.. _Upload: https://uploadcare.com/documentation/upload/
.. _REST: https://uploadcare.com/docs/api_reference/rest/
.. _Upload: https://uploadcare.com/docs/api_reference/upload/
.. _@marselester: https://github.com/marselester
.. _@dmitry-mukhin: https://github.com/dmitry-mukhin
.. _@zerc: https://github.com/zerc
Expand Down
6 changes: 3 additions & 3 deletions docs/django-widget.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ widget url:
Model Fields
------------

.. _Uploadcare widget: https://uploadcare.com/documentation/widget/
.. _Uploadcare widget: https://uploadcare.com/docs/uploads/widget/

As you will see, with Uploadcare, adding and working with a file field is
just as simple as with a `TextField`_. To attach Uploadcare files to a model,
Expand Down Expand Up @@ -142,7 +142,7 @@ You can pass any widget options via ``FileWidget``'s attrs argument:
from pyuploadcare.dj.forms import FileWidget, ImageField
# optional. provide advanced widget options: https://uploadcare.com/documentation/widget/#configuration
# optional. provide advanced widget options: https://uploadcare.com/docs/uploads/widget/config/#options
class CandidateForm(forms.Form):
photo = ImageField(widget=FileWidget(attrs={
'data-cdn-base': 'https://cdn.super-candidates.com',
Expand Down Expand Up @@ -186,5 +186,5 @@ It stores uploaded images as a group:
photos = ImageGroupField()
.. _widget documentation: https://uploadcare.com/documentation/widget/#crop
.. _widget documentation: https://uploadcare.com/docs/uploads/widget/crop_options/
.. _TextField: https://docs.djangoproject.com/en/1.8/ref/models/fields/#django.db.models.TextField
2 changes: 1 addition & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ How to use it in command line?
$ ucare -h
.. _Uploadcare: https://uploadcare.com
.. _CDN docs: https://uploadcare.com/documentation/cdn/
.. _CDN docs: https://uploadcare.com/docs/delivery/
4 changes: 2 additions & 2 deletions pyuploadcare/api_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def create_remote_copy(self, target, effects=None, make_public=None,
`${uuid}/${filename}${effects}${ext}`.
For more information on each of the options above please refer to
REST API docs https://uploadcare.com/documentation/rest/#file.
REST API docs https://uploadcare.com/docs/api_reference/rest/accessing_files/.
Following example copies a file to custom storage named ``samplefs``:
Expand Down Expand Up @@ -948,7 +948,7 @@ class GroupList(BaseApiList):
It is reflects a ``from`` parameter from the REST API.
- ``ordering`` -- a string with name of the field what must be used
for sorting files. The actual list of supported fields you can find in
documentation: https://uploadcare.com/documentation/rest/#group-groups
documentation: https://uploadcare.com/docs/api_reference/rest/accessing_groups/#properties
- ``limit`` -- a total number of objects to be iterated.
If not specified, all available objects are iterated;
- ``request_limit`` -- a number of objects retrieved per request (page).
Expand Down
2 changes: 1 addition & 1 deletion pyuploadcare/ucare_cli/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def add_sync_files_parser(subparsers):
'apply effects for synced images.'
'Note that effects will apply to images only.'
'For more information look at: '
'https://uploadcare.com/documentation/cdn/ '
'https://uploadcare.com/docs/processing/image/ '
'Example: --effects=resize/200x/-/rotate/90/'
))
return subparser

0 comments on commit e7100b8

Please sign in to comment.