I see but i thing there is more than my personal preference.

http://docs.djangoproject.com/en/dev/howto/deployment/modpython/

<Location "/mysite/">

    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE mysite.settings
    PythonOption django.root /mysite
    PythonDebug On
    *PythonPath "['/path/to/project'] + sys.path"*
</Location>

If I'm using project path, this bottom is going to produce errors. I'm
really curious about that '/path/to/project' is that project is project
where the settings.py file is, or is this only wrapper for
/path/to/project/mysite/settings.py. (where the mysite is really a project
in django meaning)

It's a bit unclear for me.


On Fri, Jan 15, 2010 at 12:34 PM, Dougal Matthews <douga...@gmail.com>wrote:

> If you want your app to be shipped individually and re-used then you
> shouldn't use the project name. If you make a reusable app and release it
> then I want to use it, I don't want to have to include the project
> namespace, i just want the app.
>
> However, its your shipping the project as a whole then it doesn't really
> matter and its then its just down to personal preference really.
>
> Dougal
>
> 2010/1/15 Sebastian Pawlus <sebastian.paw...@gmail.com>
>
>> Hi
>>
>> I've found something like "Top 10 tips to a new Django developer"
>>
>> http://blog.dpeepul.com/2009/08/31/top-10-tips-to-a-new-django-developer/
>>
>> I'm really blasted by first point "Don’t put project name  in the
>> imports". is this point correct? Django site and core developers
>> http://github.com/jacobian/cheeserater/blob/master/urls.py
>> http://code.djangoproject.com/browser/djangoproject.com/django_website/
>>
>> break that rule.
>>
>> x_O
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-us...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Reply via email to