On 15/11/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote: > > I've been running PyLint on my code and it has major trouble figuring > out what's legal and what isn't. Specifically, MyModelClass.objects is > always an error, even though the objects attribute exists, and similar > things happen with other attributes. > > Does anybody have a clean solution? (I must admit, I'm a relative Python > newbie, and a complete newbie to PyLint, so there may be something > obvious I'm missing.)
I tend to ignore the django stuff that it complains about. I looked into making pylint uderstand django better but didn't get very far. Pylint has special support for zope so I would assume it is possible to add it for django. > > Thanks, > Todd > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---