andreirk / django-hotclub

Automatically exported from code.google.com/p/django-hotclub
0 stars 0 forks source link

Remove hard-coded URLs in templates #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Both the basic_project and complete_project templates contains URLs
starting with a hard-coded "/site_media/" path, instead of using the
MEDIA_URL setting.

The attached patch does that substitution, and just that. More patches for
other hard-coded URLs will follow.

Original issue reported on code.google.com by nicola.l...@gmail.com on 31 Oct 2008 at 7:55

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by jtau...@gmail.com on 31 Oct 2008 at 12:15

GoogleCodeExporter commented 9 years ago
Please put the different media types in subdirectories while you are at it.

Original comment by leidel on 31 Oct 2008 at 1:57

GoogleCodeExporter commented 9 years ago
Do you mean directories like "css", "img" and "js" under "site_media"?

That would mean moving the actual media files around. I don't have commit 
rights, and
am not sure whether an SVN patch will actually move files around.

Original comment by nicola.l...@gmail.com on 31 Oct 2008 at 2:19

GoogleCodeExporter commented 9 years ago
i'll apply the patch as is first -- jezdez can create a new ticket for what he 
wants

Original comment by jtau...@gmail.com on 31 Oct 2008 at 2:42

GoogleCodeExporter commented 9 years ago
patch is in 1190

Original comment by jtau...@gmail.com on 31 Oct 2008 at 2:45

GoogleCodeExporter commented 9 years ago
Aye, will create one.

Original comment by leidel on 31 Oct 2008 at 3:09

GoogleCodeExporter commented 9 years ago
This ticket is done, isn't it?

Original comment by dhahler@gmail.com on 12 Jan 2009 at 7:44

GoogleCodeExporter commented 9 years ago
This still exists in a few places. It might behoove us to have this as an 
eternal
ticket, so that way we know to check on every release going forward.

Original comment by pyDanny on 13 Mar 2009 at 3:55

GoogleCodeExporter commented 9 years ago
Moved to cpc

Original comment by pyDanny on 31 Mar 2009 at 2:19