You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: