On 07/08/2006, at 9:49 AM, Malcolm Tredinnick wrote:Hey Ian,On Mon, 2006-08-07 at 09:28 +1000, Ian Holsman wrote: this problem has me stumped.. and i have no idea why this ishappening. [...] for some reason every once and a while it thinks basepath is anothercompletly different (but valid) URLeg /a
Hey Ian,
On Mon, 2006-08-07 at 09:28 +1000, Ian Holsman wrote:
> this problem has me stumped.. and i have no idea why this is
> happening.
[...]
>
> for some reason every once and a while it thinks basepath is another
> completly different (but valid) URL
> eg /aggy/tag/play/
> which I'm guessin
this problem has me stumped.. and i have no idea why this is happening.i have a function which calculates a context variable based on the request.pathin this example, base is hard-coded to "popular/"and the request.path is "/aggy/popular/" I then calculate basepath ala basepath = request.path[:re
On Aug 6, 2006, at 4:04 PM, Ivan Sagalaev wrote:
> Todd O'Bryan wrote:
>> But aren't backslashes legal characters in unix-like OSes, so that
>> the filename will get truncated if it has a backslash in it?
>
> You're right. But it's better to have nice filenames from Windows
> clients in most case
Todd O'Bryan wrote:
> But aren't backslashes legal characters in unix-like OSes, so that
> the filename will get truncated if it has a backslash in it?
You're right. But it's better to have nice filenames from Windows
clients in most cases with a rare occasion of truncated filenames
uploaded
Near the bottom of the parse_file_upload function, there's:
# IE submits the full path, so trim everything but the basename.
# (We can't use os.path.basename because it expects Linux paths.)
filename = name_dict['filename'][name_dict['filename'].rfind("\\")+1:]
But aren't backslashes legal chara
Hi Bjorn,
On a recent project I used e-mail addresses to log users in, it got a
bit messy, but I created a new Backend [1] which was almost identical
to the existing auth backend [2], but took and e-mail address and
password. I also wrote custom logins [3], but I think that was for a
diff
Joseph & Malcom, thanks for the comments. Just wanted to make sure I
could stand my ground in the face of Rails-istas :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this gr
Hi,
We'd like to use the email address as the username, but @'s not allowed
in usernames. I was just wondering if there's a reason why usernames
are restricted to alphanumeric characters only?
We could, of course, just store the email address with @'s substituted
with some other alphanumeric ch