Friday, March 8, 2013

no way to delete auth_messages

Hi, 

I created an database router to try using multiple databases. I copied the example router in  this page: https://docs.djangoproject.com/en/1.3/topics/db/multi-db/ .  

Almost everything is ok, however, it seems that I cannot delete an auth_message. The log said: 

DELETE command denied to user 'user_readonly'@'192.168.1.1' for table 'auth_message'

it seemed the delete command had gone to slave database, why delete not using db_for_write, which is default the master db. 

If anyone have met such a problem? I googled a lot, but found nothing.



--
samuel

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate