Giter VIP home page Giter VIP logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Fix committed in r38.

Original comment by [email protected] on 28 May 2008 at 9:16

  • Changed state: Fixed

from django-survey.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
NOTE: The convention is moving to local imports over package named imports for
reusable apps. For instance one client of django-survey has all their 3rd party 
apps
under 'externals' and imports those apps as externals.survey.models

This means that they have to edit our imports to use the prefix 'externals.'
In general when doing package development in python, local imports are 
preferred over
absolute as you do not have control over what 'absolute' actually is.

Original comment by [email protected] on 29 May 2008 at 7:33

from django-survey.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
no shit ... news to me.  When I went to the python conference in Chicago this 
year,
all I heard was that local imports are evil.  But I guess it all depends.  

I also thought one of the basic tenants of app development is that the app 
should
always sit on the python path.  I wonder what ubernostrum's take is on this 
because
releases (django-registration, django-profiles) use package based imports.  And 
those
apps have been around for a long time, he is also a core maintainer and gets 
paid to
work on Django from the what I know. 

Original comment by [email protected] on 29 May 2008 at 7:47

from django-survey.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
I am sorry but since I am not sure what you are talking about on the theoretical
level. It would be great if someone could look at the modification I have done 
r38
and let me know  if I should role them back.

Thank you

Original comment by [email protected] on 30 May 2008 at 9:52

from django-survey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.