Ah, I've been busy past couple of days.. but there's some interesting
ideas here.
Thanks!
Justin
On Nov 3, 6:35 am, "Valts Mazurs" <[EMAIL PROTECTED]> wrote:
> Sure, I also keep django apps outside site-packages directory but it is not
> really the same level of convenience :)
>
> Valts.
>
> On
Sure, I also keep django apps outside site-packages directory but it is not
really the same level of convenience :)
Valts.
On Mon, Nov 3, 2008 at 4:07 PM, Jonathan Buchanan <
[EMAIL PROTECTED]> wrote:
>
> On Mon, Nov 3, 2008 at 1:59 PM, Valts Mazurs <[EMAIL PROTECTED]> wrote:
> > Usually Django
On Mon, Nov 3, 2008 at 1:59 PM, Valts Mazurs <[EMAIL PROTECTED]> wrote:
> Usually Django applications are specific to Django and are not really usable
> outside Django. That's why seeing "tagging" in my site-packages directory
> might confuse me as I could think that this package supports some gen
On Mon, Nov 3, 2008 at 6:59 AM, Valts Mazurs <[EMAIL PROTECTED]> wrote:
> Usually Django applications are specific to Django and are not really usable
> outside Django. That's why seeing "tagging" in my site-packages directory
> might confuse me as I could think that this package supports some gen
Usually Django applications are specific to Django and are not really usable
outside Django. That's why seeing "tagging" in my site-packages directory
might confuse me as I could think that this package supports some general
tagging.
Valts.
On Mon, Nov 3, 2008 at 3:51 PM, James Bennett <[EMAIL PR
On Mon, Nov 3, 2008 at 6:23 AM, Dj Gilcrease <[EMAIL PROTECTED]> wrote:
> Cause I actually like having the django_apps namespace so I can
> quickly identify if something being imported is a django app or some
> regular python module
A Django application *is* a Python module. It's not some secret
On Mon, Nov 3, 2008 at 4:24 AM, Steve Holden <[EMAIL PROTECTED]> wrote:
> Why not just add .../site-packages/django_apps to your PYTHONPATH,
> making direct imports from that directory possible? That seems much
> easier than modifying the source, and it's a standard Python mechanism.
Cause I actu
Dj Gilcrease wrote:
> I run into this issue all the time since I put all of my apps in
> "site-packages/django_apps/*", the only thing you can do is manually
> change the imports to fit your naming structure
>
The ONLY thing?
> So for all mine I have to edit the imports and prepend "django_apps.
Do you absolutely require the name or would it be enough for you to
have an isolated environment for your django-related packages? In this
case take a look at virtualenv and to some extend also buildout :-)
http://pypi.python.org/pypi/virtualenv
http://pypi.python.org/pypi/zc.buildout
-- Horst
I run into this issue all the time since I put all of my apps in
"site-packages/django_apps/*", the only thing you can do is manually
change the imports to fit your naming structure
So for all mine I have to edit the imports and prepend "django_apps."
for all of the internal imports (eg. "from dj
On Nov 3, 7:47 am, stryderjzw <[EMAIL PROTECTED]> wrote:
> Hmm, I tried django_tagging, but it still gives me ImportErrors. I
> think it's because, for django-tagging project, they internally look
> for tagging as the package name.
Yes I realised that after I posted - sorry.
There's nothing to
Hmm, I tried django_tagging, but it still gives me ImportErrors. I
think it's because, for django-tagging project, they internally look
for tagging as the package name.
On Nov 2, 11:44 pm, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Nov 3, 4:58 am, stryderjzw <[EMAIL PROTECTED]> wrote:
>
>
On Nov 3, 4:58 am, stryderjzw <[EMAIL PROTECTED]> wrote:
> HI,
>
> This is semi-off topic, but it is a python question.
>
> I'm trying to use some of the generic django applications, like django-
> tagging. Taking django-tagging, for example, it requires me to symlink
> the source folder to "site-
HI,
This is semi-off topic, but it is a python question.
I'm trying to use some of the generic django applications, like django-
tagging. Taking django-tagging, for example, it requires me to symlink
the source folder to "site-packages/tagging". However, I want to keep
site-packages structured a
14 matches
Mail list logo