You're right. Something similar "from .something import SomeThing". Like, https://github.com/django-nonrel/djangotoolbox/blob/develop/djangotoolbox/tests.py#L1
On Fri, Feb 10, 2012 at 9:52 AM, Alex Gaynor <[email protected]> wrote: > > > On Fri, Feb 10, 2012 at 10:57 AM, Carl Meyer <[email protected]> wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 02/10/2012 08:47 AM, Adam "Cezar" Jenkins wrote: >> > On Fri, Feb 10, 2012 at 9:50 AM, Carl Meyer <[email protected] >> > <mailto:[email protected]>> wrote: >> > >> > "import .module" >> > >> > >> > Not arguing one way or another, but the above has always worked for me >> > from a Python standpoint. >> >> Could you clarify what has worked for you about "import .module"? Every >> way I try it, it's just a syntax error. >> >> Carl >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.10 (GNU/Linux) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iEYEARECAAYFAk81PnMACgkQ8W4rlRKtE2c/OACfco31wdU7M3E40uIU7renmee7 >> CvQAoKWDiOAxJ2BuLiw1RcmsmdE6/Y5w >> =MQVQ >> -----END PGP SIGNATURE----- >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django developers" 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-developers?hl=en. >> >> > I suspect you're going for `from . import module`? > > Alex > > -- > "I disapprove of what you say, but I will defend to the death your right > to say it." -- Evelyn Beatrice Hall (summarizing Voltaire) > "The people's good is the highest law." -- Cicero > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" 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-developers?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en.
