I would use a raw string like this"
string.rfind(r'\\')
The raw string makes sure there is no additional escaped special
characters. But you still need to escape the backslash.
Here is a good read on all this:
http://www.python.org/doc/current/ref/strings.html
+ Leeland
--~--~-~--~---
Sorry if this seems obvious I am a new comer to Django development.
There are attributes I want to get at in the request or WSGI server
objects to test if I should set up some specialized channels in my
Django application.
Problem is neither of these seem to be available until I get to the
view
I am a new Django person as well. There is one other point about
storing data in sessions. If you expect the site to grow you should
put the session data in a back-end database. This will allow multiple
servers to access the data. This is important if you ever want to have
load balanced servers wh
I read this with great interest. It actually will save me time on my
project. I will be encountering this behavior shortly. Thank you!
Please, please submit a bug report on this with all the details here.
If people do not submit bug reports future user of Django will
eventually have the same prob
I want to have a source code repository view on my Django site. I can
not find any such module available. Mostly I want something like
ViewCV with a couple of twists (user authentication, group permissions
to view sections, tagging, etc.)
In poking around I couldn't find any example python-svn
im
I am going to submit this as a bug.
--~--~-~--~~~---~--~~
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 t
If you consider that Django started as an application for the news
paper industry and the associated sites you might get a reasonable
guess at answering your own question.
I agree with all the other posts in that correctly building the
infrastructure and properly engineering your application to b
I am running Django on a centos box using lighttpd and fastcgi. I
found that if I didn't daemonize the fastcgi process and did not
specify a socket name to the manage.py script that the fcgi handlers
cooperated better and was able to place all of the fcgi process under
the control of lighttpd and
8 matches
Mail list logo