Re: [PATCH] models: Validate Project.linkname does not contain forward slash

2020-09-26 Thread Stephen Finucane
On Tue, 2020-09-08 at 21:31 +1000, Andrew Donnellan wrote: > On 6/9/20 10:55 pm, Thomas Bracht Laumann Jespersen wrote: > > 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"

Re: [PATCH] models: Validate Project.linkname does not contain forward slash

2020-09-08 Thread Thomas Bracht Laumann Jespersen
> > I hard a hard time satisfying flake8, so I ended up disabling the pre-commit > > hook. I also looked over the documentation for contributors and figure that > > if > > a release note is required, just let me know then I'll add it. > > TIL we have precommit hooks. I've been contributing to

Re: [PATCH] models: Validate Project.linkname does not contain forward slash

2020-09-08 Thread Andrew Donnellan
On 6/9/20 10:55 pm, Thomas Bracht Laumann Jespersen wrote: 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 /

[PATCH] models: Validate Project.linkname does not contain forward slash

2020-09-06 Thread Thomas Bracht Laumann Jespersen
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