SG2791 SG2791 - 1 year ago 166
Apache Configuration Question

Django: Two projects from landing page

I am planning on a Django multi-project system, where I'll have a Django project hosting the landing page. Then I wish to have two links to two of the separate django projects (maybe that can grow to three in future).

Now, I saw the apache config part in SO as well as in google. But I want to know, what should be the link be in the two buttons on the landing page, as in how would the url pattern be?

Answer Source

If they're totally separate projects (not separate apps, but separate projects), you won't be able to use the {% url %} filter. Just hardcode the URL in the templates.

Or you could store the URLs in the database, so you can update them without having to re-deploy the application. Either way, though, the URLs will have to be hardcoded.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download