Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running a django project in a folder #135

Open
AbdealiLoKo opened this issue Apr 27, 2014 · 0 comments
Open

Running a django project in a folder #135

AbdealiLoKo opened this issue Apr 27, 2014 · 0 comments

Comments

@AbdealiLoKo
Copy link

If I am to host a project at "www.example.com/my_project/...."
I set my SITE_URL as "www.example.com/my_project/" and now use dajaxice. It always tries to redirect to "www.example.com/dajaxice/..."

If i set DAJAXICE_MEDIA_PREFIX as "/my_project/dajaxice/" it again refuses to work because it goes to "www.example.com/my_project/dajaxice/..." and as urls.py also is set to the same variable, for it to work, it needs to go to "www.example.com/my_project/my_project/dajaxice/..."

So, all in all, I think we need two variables - One which goes into the core.js file and another for the urls.py file.
OR : A variable that goes into urls.py and another variable that gets prepended in the core.js file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant