Some basic questions about Django, Pyjamas and Clean URLs
Posted
by Acidburn2k
on Stack Overflow
See other posts from Stack Overflow
or by Acidburn2k
Published on 2010-03-11T20:07:08Z
Indexed on
2010/03/11
20:09 UTC
Read the original article
Hit count: 493
I am farily new to the topic, but I am trying to combine both Django and Pyjamas. What would be the smart way to combine the two? I am not asking about communication, but rather about the logical part.
Should I just put all the Pyjamas generated JS in the base of the domain, say http://www.mysite.com/something and setup Django on a subdirectory, or even subdomain, so all the JSON calls will go for http://something.mysite.com/something ?
As far as I understand now in such combination theres not much point to create views in Django?
Is there some solution for clean urls in Pyjamas, or that should be solved on some oy,ther level? How? Is it a standard way to pass some arguments as GET parameteres in a clean url while calling a Pyjamas generated JS?
© Stack Overflow or respective owner