Thursday, October 4, 2012

URLField and Web Sockets URLs

Apparently the current implementation of URLField rejects Web Sockets URLs such as ws://my.server.com/

This seems to be due to the implementation of the underlying URLValidator, which has a regex to search for ftp or http based URLs only.

Is there any chance the URLValidator regexp can be updated to include ws as a valid protocol qualifier too?

Also, more generally, what is the recommended procedure for proposing changes (and accompanying code) such as this?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ap-_kaacEngJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate