WebFaction
Community site: login faq

Hi,

I've been trying to make a test with django-socketio, just to see it output its socket.IO JS file.

I put in my settings.py: http://dpaste.org/5TP7y/

I have created a static app (Static only (no .htaccess)) named media with the control panel.

Then I just created a view :

def test(request):

. . . .return render_to_response('test.html',{})

and the template is the basic one given here https://github.com/stephenmcd/django-socketio#installation , that just outputs the JS Socket.IO file.

This is the trace of the error I'm given: http://dpaste.org/u3Sqm/ which has the awesome title:

VariableDoesNotExist at /engine/test/

Failed lookup for key [MEDIA_URL] in u"[[{'DJANGO_SOCKETIO_PORT': 35320}]]"

Any ideas of what I'm doing wrong?

asked 02 Jun '12, 18:15

sgiffard
334
accept rate: 0%


You may submit a support ticket if you would like us to take a closer look.

It is difficult to see with this context alone what the issue might be exactly.

permanent link

answered 02 Jun '12, 18:37

johns
5.4k312
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×3

question asked: 02 Jun '12, 18:15

question was seen: 3,186 times

last updated: 02 Jun '12, 18:37

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM