On Tue, 2007-08-21 at 02:20 -0700, MikeHowarth wrote:
> So really I'd be better off using:
> 
> from django.contrib.localflavor.uk import forms

If, in the same file, you also do "import newforms as forms", things are
going to go pear-shaped pretty quickly, so be careful.

My gut reaction, if I'm importing "extra" stuff like this and it's using
a common name, is to immediately, defensively alias it to something like
uk_forms so that even three months from now, I don't spend forever
trying to debug why "forms" doesn't contain what I expect it to.

Malcolm

-- 
A clear conscience is usually the sign of a bad memory. 
http://www.pointy-stick.com/blog/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to