I'm dealing with the same issue, and it looks like I'm probably going to
adopt django-private-files for this.
http://pypi.python.org/pypi/django-private-files/0.1.2
It's on Read The Docs, bitbucket, and github. It does what I need it to
do, it works with nginx, and it's been maintained
My Django app only allows someone to access a /books page, that is
part of the Django app, if they are signed in.
The pages below that URL are just static directory listings of PDFs
all handled by Apache.
For example /books/book_1, /books/book_2, etc.
Because these directory listings aren't
On 1/08/2011 8:09am, Lucy Brennan wrote:
I read Wikipedia and Django docs. Now, after all this debate, I see
that I _did_ understand the definitions when I first read it.
Given those definitions however, the meaning of USE_I18N and USE_L10N
are not obvious. Far, far, far from obvious. There
On Mon, Aug 1, 2011 at 1:23 AM, ivan.o...@googlemail.com
wrote:
> I get a lot of 'broken internal links' mails daily from a Django
> application I
> am hacking: http://grical.org
>
> They look like this::
>
> Referrer: http://grical.org/accounts/login/e/show/580/
>
I read Wikipedia and Django docs. Now, after all this debate, I see that I
_did_ understand the definitions when I first read it.
Given those definitions however, the meaning of USE_I18N and USE_L10N are
not obvious. Far, far, far from obvious. There _absolutely_ has to be some
additional
Kev Dwyer wrote:
> Hello List,
>
> I've been upgrading an old Django 1.1.x app to use Django 1.3, and am
> having a problem with nested formsets.
>
...
>
>
>
I omitted one important fact in this write-up. In Nathan's original code,
the lowest level formset is created like this:
I never heard of Nashvegas until your e-mail, and I've been using South
for years and it's been wonderful. I also met Andrew Godwin at DjangoCon
last year, and he's a genuinely nice and friendly guy.
So, assume that I'm biased. Having said that, here are my responses:
South is definitely not
I am trying to filter a field on a ModelForm. I am subclassing the generic
CreateView for my view.
I found many references to my problem on the web, but the solutions do not
seem to work (for me at least) with Django 1.3's class-based views.
Specifically, my users need to add Subscribers, and
I'm about to start using a database migration tool on an existing
project.
(Yes, yes, I know, I am crazy for not having done so from the
beginning...)
So: south (the reigning champ) or nashvegas (the upstart)?
I respect the people working on nashvegas a lot, and figure they have
pretty good
I get a lot of 'broken internal links' mails daily from a Django
application I
am hacking: http://grical.org
They look like this::
Referrer: http://grical.org/accounts/login/e/show/580/
Requested URL: /accounts/login/e/show/
580/
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows
Thank You! Now I see I don't understand how can I use static files
using the development server. I saw several answers to this question
of other people but they are too breaf for me.
Books on Django I have don't explain this problem. Be so kind to
explain me.
My local computer has Windows. The
Thank you.
Stuart MacKay wrote:
>
> Take a look at the widgets used to display a form. From the
> documentation: https://docs.djangoproject.com/en/dev/ref/forms/widgets/
>
> "On a real Web page, you probably don't want every widget to look the
> same. You might want a larger input element for
Take a look at the widgets used to display a form. From the
documentation: https://docs.djangoproject.com/en/dev/ref/forms/widgets/
"On a real Web page, you probably don't want every widget to look the
same. You might want a larger input element for the comment, and you
might want the 'name'
I would like to use the 'title' attribute of several form fields to hold our
help_text, rather than displaying the text alongside the field. I don't see
any way, though, to add or modify tag attributes on a form field. How would
I do this?
--
View this message in context:
Then install them on your system's python environment, rather than a
virtual one. Tip: site-packages
On 7/31/11, Kase wrote:
> oh, im estupid, i put the rosetta and transmeta in my site path but
> not localeurl...
>
> but, i like to put in a generic path and not duplicate
Hello, i've problem with django-nani, in admin panel ist of objects
don't shown.
--
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
oh, im estupid, i put the rosetta and transmeta in my site path but
not localeurl...
but, i like to put in a generic path and not duplicate in every
proyect =/
On 31 jul, 03:43, Kase wrote:
> i try internationalization whit transmeta, localeurl and rosette
>
>
i try internationalization whittransmeta, localeurl and rosette
transmetta and rosette works ok
all put in path /usr/local/pytho27/site-pakage
but localeurl dont work!
manage.py runserver trowError: No module named localeurl
=/
--
You received this message because you are
Thank You very much, Kev !!!
You helped me.
Vladimir Vanin
--
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
veva...@yandex.ru wrote:
> After upgraging I entered python manage.py runserver and got error
> messages:
> File "manage.py", line 11, in
> execute_manager(settings)
> File "c:\python26\lib\site-packages\django\core\management
> \__init__.py", line 438, in execute_manager
> utility.execute()
>
20 matches
Mail list logo