patchwork:pyup-pin-sqlparse-0.4.0

Last commit made on 2020-10-07
Get this branch:
git clone -b pyup-pin-sqlparse-0.4.0 https://git.launchpad.net/patchwork

Branch merges

Branch information

Name:
pyup-pin-sqlparse-0.4.0
Repository:
lp:patchwork

Recent commits

fdae4f3... by pyup-bot <email address hidden> on 2020-10-07

Pin sqlparse to latest version 0.4.0

0541649... by pyup-bot <email address hidden> on 2020-10-07

Pin sqlparse to latest version 0.4.0

bdb049c... by Stephen Finucane <email address hidden> on 2020-10-01

requirements: Update doc requirements

Signed-off-by: Stephen Finucane <email address hidden>

efcef74... by Stephen Finucane <email address hidden> on 2020-10-01

requirements: Bump mysqlclient to 2.0.0

Signed-off-by: Stephen Finucane <email address hidden>

17ed8a2... by Stephen Finucane <email address hidden> on 2020-10-01

requirements: Bump django-debug-toolbar to 3.1.x

Signed-off-by: Stephen Finucane <email address hidden>

875f886... by Stephen Finucane <email address hidden> on 2020-10-01

requirements: Bump django-filter to 2.4.0

Signed-off-by: Stephen Finucane <email address hidden>

8a705e3... by Stephen Finucane <email address hidden> on 2020-10-01

Add support for djangorestframework 3.12

No changes necessary.

Signed-off-by: Stephen Finucane <email address hidden>

b7a6df9... by Thomas Bracht Laumann Jespersen <email address hidden> on 2020-09-28

models: Validate Project.linkname does not contain forward slash

I started by creating a project that contained a forward slash
(importing patches from https://lists.sr.ht/~sircmpwn/sr.ht-dev/) and
it fails to render the "projects" main page.

The specific error reads:

    NoReverseMatch at /

    Reverse for 'patch-list' with keyword arguments
    '{'project_id': 'foo/bar'}' not found. 1 pattern(s) tried:
    ['project/(?P<project_id>[^/]+)/list/$']

which appears to explicitly disallow forward slashes.

So I think it makes sense to validate that project linkname doesn't
contain forward slahes.

This implementation uses the validate_unicode_slug validator instead of just
rejecting inputs that contain forward slashes.

Signed-off-by: Thomas Bracht Laumann Jespersen <email address hidden>
Signed-off-by: Stephen Finucane <email address hidden>
Closes: #380

8f40045... by Andrew Donnellan <email address hidden> on 2020-08-27

Add support for Django 3.1

Signed-off-by: Andrew Donnellan <email address hidden>
Reviewed-by: Stephen Finucane <email address hidden>

02fc429... by Andrew Donnellan <email address hidden> on 2020-08-27

requirements: Update django-filter

Update django-filter dependency to a version that's compatible with Django
3.1.

Signed-off-by: Andrew Donnellan <email address hidden>
Reviewed-by: Stephen Finucane <email address hidden>