- Description has changed:
Diff:
--- old
+++ new
@@ -1,5 +1,5 @@
If a username has an underscore in it, we do some changes to make it a valid
user-project shortname, by substituting `_` to `-`. However it would be nice
to support the web url to still have a underscore matching the
---
** [tickets:#8330] Nicer user-project urls (for underscores) and titles**
**Status:** in-progress
**Milestone:** unreleased
**Created:** Thu Aug 29, 2019 10:11 PM UTC by Dave Brondsema
**Last Updated:** Thu Aug 29, 2019 10:11 PM UTC
**Owner:** Dave Brondsema
If a username has an
- Description has changed:
Diff:
--- old
+++ new
@@ -1,5 +1,5 @@
If a username has an underscore in it, we do some changes to make it a valid
user-project shortname, by substituting `_` to `-`. However it would be nice
to support the web url to still have a underscore matching the
I would recommend looking at BlogAttachment still as an example. You could make
an UploadAttachment class similar to BlogAttachment. And then in Upload add
this (similar to what BlogPost class does):
@classmethod
def attachment_class(cls):
return UploadAttachment
And then you'd