Issue667RunOpenremInVirtualDir

Merged
#232 · Created  · Last updated

Merged pull request

Merged in Issue667RunOpenremInVirtualDir (pull request #232)

  • e73e83e
  • Author:
  • Closed by:
  • 2018-11-07

Description

Please test this Pull Request.

  • It should work fine now

  • It relies on django-js-reverse for URLs in static files (can be installed with pip)

    • If running in root directory nothing has to be done

    • If running in virtual directory one has to

      • Set the virtual directory in local_settings.py

      • Run ‘python manage.py collectstatic_js_reverse' to update …\static\js\django_reverse\reverse.js

  • BUT, there is an omission in django-js-reverse

To keep it working:

  • Never use hardcoded urls (except in urls.py)

  • If urls.py is changed, run ‘python manage.py collectstatic_js_reverse’

  • If changing a URL-name in urls.py, be sure to change it in the code anywhere.

Hopefully the solution to the issue with django-js-reverse will be in a next release (soon).

0 attachments

Loading commits...