A few weeks ago, I started down the path of updating django-mssql so that
it supports Django 1.4. I moved the project over to bitbucket (
http://bitbucket.org/Manfre/django-mssql/), docs are deployed to read the
docs (http://django-mssql.readthedocs.org), and have made it a policy of
deploying pack
Hi Tom,
On 16 mai 2012, at 19:22, Tom Evans wrote:
> Even with this optimization, if I access the session_key of a session
> object, it should be apparent that I want the session id of the
> current session. If that means that the session must be saved in order
> to determine what that session id
On Wed, May 16, 2012 at 4:38 PM, Aymeric Augustin
wrote:
> 2012/5/16 Tom Evans :
>> So, is the session key being available part of the API, or is relying
>> on the session key existing incorrect?
>
> Hi Tom,
>
> Accessing the session key before saving the session is incorrect.
>
> Previously, it u
2012/5/16 Tom Evans :
> So, is the session key being available part of the API, or is relying
> on the session key existing incorrect?
Hi Tom,
Accessing the session key before saving the session is incorrect.
Previously, it used to return something, but that something could be
random data instea
On Wed, May 16, 2012 at 12:32 PM, Rory Campbell-Lange
wrote:
> I'm obviously whistling in the breeze here, but I'd be very grateful for
> some help. I've provided some more info below.
>
> I have a view raising a specific exception I would like to catch and
> provide an HttpResponse based on this
Hi all
One of our sites was recently upgraded to 1.4 and now some previously
working code is failing.
The code tries to access and utilize the session id from the user, but
if it tries to do this on the request the session is created on, the
session id is None. The equivalent session object in 1.
The usage of MEDIA_ROOT is by design.
According to the release notes from 1.3 [1], the intention is to have
uploaded files in MEDIA_ROOT and assets/static files in STATIC_ROOT.
Nothing stops you from doing:
MEDIA_ROOT = STATIC_ROOT
MEDIA_URL = STATIC_URL
[1]
https://docs.djangoproject.com/en/d
You can define a custom location for your files like the docs tell you:
https://docs.djangoproject.com/en/dev/topics/files/#the-built-in-filesystem-storage-class
https://docs.djangoproject.com/en/dev/howto/custom-file-storage/
https://docs.djangoproject.com/en/dev/topics/http/file-uploads/
If you
Hi all,
I am developing an intranet portal using django 1.3.1. I noticed in my
uploader app that the default storage redirects the saved files to the
apache2 directory.
I found later that the reason of this is due to
Django.core.files.storage.py in line 152, 154. It still uses
settings.MEDIA_U
Thanks Aymeric, I've reopened the ticket. I skipped the triage page,
thinking it would be about the rules for prioritizing bugs.
On May 15, 3:44 pm, Aymeric Augustin
wrote:
> Hello,
>
> On 15 mai 2012, at 21:36, Yo-Yo Ma wrote:
>
> > I've attached a diff in the ticket I created, and I resolved th
I'm obviously whistling in the breeze here, but I'd be very grateful for
some help. I've provided some more info below.
I have a view raising a specific exception I would like to catch and
provide an HttpResponse based on this exception.
I cannot trigger the exception middleware either as standar
> Why would your wsgi file need to know the site-packages folder? Shouldn't
> the external hosting mechanism configure that properly?!
>
It was just an example of using additional context
I don't know which mecanism you're mentioning. My WSGI file follows what
you can read here about virtualen
On Tuesday, May 15, 2012 3:53:56 PM UTC+2, Dominique Guardiola Falco wrote:
>
> Example use case : in order to make a valid wsgi.py file, pass the
> virtualenv site-packages folder path
>
Why would your wsgi file need to know the site-packages folder? Shouldn't
the external hosting mechanism co
IBM_DB_DJANGO-1.0.4
---
IBM_DB_DJANGO adaptor enables access to IBM databases from Django
applications http://www.djangoproject.com/. The adaptor is developed
and maintained by IBM.
What's New?
- Added support for Django-1.4
- Backward compat
14 matches
Mail list logo