DEV Community

Discussion on: Python beyond PEP8

vdedodev profile image
Vincent Dedo

That's some general good style practice, but I'm going to have to disagree on the mega long import. What's wrong with just importing the module you want to use (from django.db.models import expressions)? That way you can more easily avoid name clashes.

edelvalle profile image
Eddy Ernesto del Valle Pino Author

I'm fine also with that... this was just to illustrate