Re: Django install issues on Windows in Cygwin.

2008-09-17 Thread Nathan Dabney
I've found that mixing Windows/Cygwin binaries for Python/Django creates
confusing problems.  It's best to treat each environment like the other
doesn't exist with respect to dependencies.

It looks like you are using the Windows binary instead of the one compiled
for cygwin.

-Nathan


On Wed, Sep 17, 2008 at 5:34 AM, draft <[EMAIL PROTECTED]> wrote:

>
> All,
>
> I'm having issues running the django-admin.py script from Cygwin after
> installing Django.  When I run it, I get the following error:
>
> $ django-admin.py
> c:\Python25\python.exe: can't open file '/cygdrive/c/Python25/Lib/site-
> packages/django/bin/django-admin.py': [Errno 2] No such file or
> directory
>
> Note that it's finding the script's correct location as the Django bin
> directory is in my PATH.  And, the file is definitely there and is
> executable:
>
> $ ls -al /cygdrive/c/Python25/Lib/site-packages/django/bin/django-
> admin.py
> -rwx--x--x+ 1 username DomainUsers 128 Dec 30  2006 /cygdrive/c/
> Python25/Lib/site-packages/django/bin/django-admin.py
>
> I've tried re-installing both Django and Python to no avail.  Also,
> it's important to note that this works in Windows, so I would imagine
> it's something wrong with my environment or some setting in Cygwin
> that is preventing this.  Any help is much appreciated.
>
> Thanks,
> David
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: problem with generic views (monthly archive) and different languages

2008-09-13 Thread Nathan Dabney
URL keyed off of numeric month instead of localized name.
-Nathan


On Sat, Sep 13, 2008 at 6:02 AM, Julian <[EMAIL PROTECTED]> wrote:

>
> hi there,
>
> in my settings.py there is the language specified as "de_de", wich
> works well with things like:
>
> {{{
> blog_entry.timestamp|date:"b"
> }}}
>
> in may, it returns "Mai", wich is german for may.
>
> but i am using the generic views for my blog archive, and monthly
> based i'm doing things like:
>
> {{{
>  month=previous_month|date:"b"|lower %}">Vorheriger Monat
> }}}
>
> but i receiven an url like:
>
> blog/2008/mai/
>
> wich turns into an 404 error page, because in this case it should be
> blog/2008/may
>
> what's a solution for my problem?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---