>> I don't know whether this would be better done by replacing the >> INTERNAL_IPS functionality, or adding a second similar means, but >> for my app, it's helpful to know if the user is "internal" or >> "external" as defined by several netmasks/CIDR addresses. Rather >> than adding every address in the network to INTERNAL_IPS, it >> would be nice to be able to specify something like > > http://dpaste.com/25684/ > > We've been doing this for a while. It sounds like you have more > functionality in mind, though.
Hmm...your code seems to reference an "ipv4" module I don't have here on either of my Debian boxes, or my Win32 box at work. That could have been handy to have, rather than trying to reinvent the wheel. The closest I could find was an entry in the Python Cookbook that referenced an off-site broken-link. Anything that works with the std library? -tim --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---