You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 12, 2020. It is now read-only.
I'm on django 1.3 and when there are pictures in the db, the code raise an exception because of file "picture_form.html", line 58. This is the statement that does not work: {% url 'upload-delete' picture.id %}
I'm a django newbe, so at the moment I've fixed it just using /upload/delete/{{ picture.id }} instead
For the rest project works well, congrats for it
The text was updated successfully, but these errors were encountered:
This is because the urls.py uses syntax layout introduced in 1.4 and old syntax not working in 1.5, so it is hard to get this to work in both 1.3 and 1.5. BTW 1.3 is unsupported by Django, and the upgrade path to 1.4 has been really simple (as in nothing to do) for my small and large projects.
I will not "fix" this by adding logic to support a deprecated version of Django. I'm happy that you was able to find a workaround.
Thanks for the interest, and your kind words. And it should really be easy to test this project in a virtualenv with a newer Django.
Hello,
I'm on django 1.3 and when there are pictures in the db, the code raise an exception because of file "picture_form.html", line 58. This is the statement that does not work: {% url 'upload-delete' picture.id %}
I'm a django newbe, so at the moment I've fixed it just using /upload/delete/{{ picture.id }} instead
For the rest project works well, congrats for it
The text was updated successfully, but these errors were encountered: