django-localeurl uses a similar URL scheme to localized urls (i.e.
"/en/some/path" becomes "some/path" with an extra environment variable for
localization).
You could check the source to see how it's being done there and adapt it:
https://bitbucket.org/carljm/django-locale
It uses custom middlew
> I'm not a programmer by profession, but I use Python a lot. For
> example, I use it to interface with the 90+ tables of Drupal directly
> to avoid php. Drupal is just horrible with all dependencies and
> trying to get the proper data displayed. Php just isn't my thing and
> you seem to spe
This is just a thought, but you could separate the file encoding and
storage from your model and hand that off to a Celery task.
Off the top of my head:
- use a "file path" charfield and a "is ready" boolean field in your
model
- use a FileField in your form
- when the form/upload are validated, s
> A little background. I am a Django developer for almost 4 years.
> Recently I submitted a proposal to undertake the web operation of a
> community run orgnization. One vendor proposed Joomla and I have
> proposed Django. Never mind, he says Joomla is a framework. That is
> OK. What primarily dif
Thanks, Matt and Graham, this looks perfect, I'll give it a shot.
V
--
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+
I have my project set up to use Apache/mod_wsgi with different configs
for dev, staging and production. I'd like to set up my dev server to
automatically reload the WSGI app per request (without touching my
django.wsgi file each time). I looked at two wsgi middleware projects,
memento and amnesia,
I had a lot of trouble at first getting things setup on Snow Leopard
(mostly 32-bit/64-bit problems).
Ultimately, I loaded the full stack through MacPorts (apache, mysql,
python, wsgi, django, etc. etc.). Almost all of the problems I ran
into with this method were related to making sure that other
7 matches
Mail list logo