Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I've found a way to work around this issue, it's a bit hacky but it does the job. I got it from here <a href="http://wiki.bitnami.org/Components/Django" rel="noreferrer">http://wiki.bitnami.org/Components/Django</a>. But they imply that you only need to do this if you are using an apache webserver which I am not. I am using the django's development server, but nevertheless it works.</p> <p>Basically I had to create a DoE.conf file in /home/bitnami/apps/django/conf which looks like this:</p> <pre><code>Alias /static "/opt/bitnami/apps/django/lib/python2.7/site-packages/django/contrib/admin/static" &lt;Directory '/opt/bitnami/apps/django/lib/python2.7/site-packages/django/contrib'&gt; Order allow,deny Allow from all &lt;/Directory&gt; WSGIScriptAlias /DoE "/opt/bitnami/apps/django/scripts/DoE.wsgi" &lt;Directory '/opt/bitnami/apps/django/scripts'&gt; Order allow,deny Allow from all &lt;/Directory&gt; </code></pre> <p>and then create a file named DoE.wsgi in /home/bitnami/apps/django/scripts which looks like this:</p> <pre><code>import os, sys sys.path.append('/opt/bitnami/apps/django/django_projects') sys.path.append('/opt/bitnami/apps/django/django_projects/DoE') os.environ['DJANGO_SETTINGS_MODULE'] = 'DoE.settings' import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() </code></pre> <p>after that I had to include</p> <pre><code>/opt/bitnami/apps/django/conf/DoE.conf </code></pre> <p>in my httpd.conf file, which for my case was here: /opt/bitnami/apache2/conf</p> <p>After this I restarted my machine/server and all was well :)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload