Re: Logging Out with POST by Default?

2012-09-21 Thread Paul McMillan
That's the same ticket as this one, which is more recent and has been open for longer... https://code.djangoproject.com/ticket/15619 FWIW, I agree we need to fix this. On Fri, Sep 21, 2012 at 6:56 AM, Aymeric Augustin wrote: > Le 20 sept. 2012 à 20:03, Carl

Re: Schema Alteration - Review needed!

2012-09-21 Thread Andrew Godwin
Alright, I've now removed my AppCache state handling and replaced it with swappable AppCaches - surprisingly, doing this hasn't broken anything, but it did need an AppCacheWrapper to stop references going wrong. The commits are here:

Re: Migration to Django 1.4.1 : nothing about auth.message in Backward incompatibilities CHANGELOG.

2012-09-21 Thread Stan
On Friday, September 21, 2012 4:18:35 PM UTC+2, Aymeric Augustin wrote: > > Hi Stanislas, > > Since the user message framework was deprecated in Django 1.2, its > deprecation is documented in the 1.2 release notes: > https://docs.djangoproject.com/en/1.4/releases/1.2/#user-messages-api > I had

State tracking in the test suite

2012-09-21 Thread Anssi Kääriäinen
I have updated the patch to enable state tracking in the test suite. The very short summary is that instead of flushing all tables, Django flushes only changed tables for each test. This results in speed gains in TransactionTestCases. The patchseries can be found from:

Re: Migration to Django 1.4.1 : nothing about auth.message in Backward incompatibilities CHANGELOG.

2012-09-21 Thread Aymeric Augustin
Hi Stanislas, Since the user message framework was deprecated in Django 1.2, its deprecation is documented in the 1.2 release notes: https://docs.djangoproject.com/en/1.4/releases/1.2/#user-messages-api The features deprecated in Django 1.2 and eventually removed in Django 1.4 are listed in

Migration to Django 1.4.1 : nothing about auth.message in Backward incompatibilities CHANGELOG.

2012-09-21 Thread Stan
Hi, Maybe I missed something but in upgrading a project from Django 1.3.x to 1.4.1 I have encounter the following error when running my tests : Problem installing fixture '/Users/stan/Dropbox/Projets/Aden/Publish-dj1.4/fab4/../fab4/parametrage/fixtures/tests/auth.json': Traceback (most

Re: Logging Out with POST by Default?

2012-09-21 Thread Aymeric Augustin
Le 20 sept. 2012 à 20:03, Carl Meyer a écrit : > FWIW I agree, and I think #7989 should be reopened. I do logout-via-POST > on all my projects nowadays to avoid logout CSRF, and it's really quite > simple. You can easily style a form button to look however you want > (including

Re: Create a new Django object with 'using' kyword in multi database application

2012-09-21 Thread Aymeric Augustin
Hi Laxmikant, This is a question is about using Django; please post such questions to django-users. The topic of django-developers is the development of Django itself. Thanks! -- Aymeric. PS: look at database-level replication. Le 21 sept. 2012 à 09:11, Laxmikant Gurnalkar

Create a new Django object with 'using' kyword in multi database application

2012-09-21 Thread Laxmikant Gurnalkar
'm going to sync django.auth.User Table across multiple database. Since, I have two databases in my Django project.As we know Django doesn't support cross-DB relationship officially. So I'm trying to sync User and Accounts table across multiple database. To create new User object, I have to