Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't work in Django 1.5. #49

Open
Nule opened this issue Mar 2, 2013 · 2 comments
Open

Don't work in Django 1.5. #49

Nule opened this issue Mar 2, 2013 · 2 comments

Comments

@Nule
Copy link

Nule commented Mar 2, 2013

New sintax of {%url%} tag and adminmedia not supported anymore.

@ralfzen
Copy link
Contributor

ralfzen commented Mar 19, 2013

for that you can do:

gsed -i -r -e 's/% url ([^%]+) %/% url "\1" %/g' *.html

@ralfzen
Copy link
Contributor

ralfzen commented Mar 19, 2013

but that does only half the trick. then do:

gsed -i -r -e 's/% url ([^%]+) %/% url "\1" %/g' include/*.html
gsed -i -r -e 's/adminmedia/admin_static/g' *.html
gsed -i -r -e 's/adminmedia/admin_static/g' include/*.html
gsed -i -r -e 's/custom_admin_media_prefix %\}([a-z\/\.]+)/static "admin\/\1" %\}/g' *.html

done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants