I wouldn't be surprised if this is a bug in IE =/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group
What about using pythons regular expression module (re) ? Example,
if re.search("\d", "Search query 2 search"):
# Do this.
else:
# Do this instead.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users
Python add's itself to your path by default right? If not, it would be much
more convenient just adding python to your path so you could just say
"python" instead of the full path to the exe...
--~--~-~--~~~---~--~~
You received this message because you are subscrib
Try setting the SESSION_COOKIE_DOMAIN setting to something like ".mysite.com
"
So, in settings.py
SESSION_COOKIE_DOMAIN = ".mysite.com"
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
This wouldn't work?
def view(request):
if request.user.theme = "blue":
template = "app/blue/template.html"
elif request.user.theme = "yellow":
template = "app/yellow/template.html"
return render_to_response(template)
--~--~-~--~~~---~--~~
This wouldn't work?
def view(request):
if request.user.theme = "blue":
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To u
Same here..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to
django-users+unsubscr
I'm still making my first site with django so I don't how much weight my
opinion has, but I used a seperate profile for ForeignKeys. I don't know
why, it just seemed logical at the time. It is easer as you can refer to
whats in a users profile easier. You can put things like {{
song.profile.user.us
Would it not be better if you set your server to only execute django at
/django/ and have a php redirect to redirect from mysite.net to
mysite.net/django
I think what you're doing should work though...
--~--~-~--~~~---~--~~
You received this message because you are
Ah thank you =D I put:
FORCE_SCRIPT_NAME = ""
In my settings file and it worked perfectly =D Thanks for the reply!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send em
10 matches
Mail list logo