he current version which
I'm using now.
If I may get any working examples for MultiDB and Sharding feature
using Django1.1.1 then that would be great help.
Thanks,
Sudhakar
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
I did a bit research work with Django 1.2 and found its very
supportive to work with MultiDB and Sharding.
I wrote some code on that and found its working perfectly.
Cool
Thanks for Django 1.2 :-)
--Sudhakar
On Apr 16, 2:17 pm, Sudhakar wrote:
> Thanks for your reply
>
> I love t
My router.py file is as below:-
class shard_data:
id = 0
class AppRouter(object):
"""A router to control all database operations on models in
that belongs to a app in APPS_WITH_DB"""
def db_for_read(self, model, **hints):
"Point all operations on myapp models to 'other'"
My router.py file is as below:-
class shard_data:
id = 0
class AppRouter(object):
"""A router to control all database operations on models in
that belongs to a app in APPS_WITH_DB"""
def db_for_read(self, model, **hints):
"Point all operations on myapp models to 'other'"
I think the solution is to work with "using" and to call db_for_read
router function in that.
On Sep 22, 4:06 pm, Sudhakar wrote:
> My router.py file is as below:-
>
> class shard_data:
> id = 0
>
> class AppRouter(object):
> """A router t
When is the official release of Django 1.2?
Thanks,
Sudhakar
--
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
dj
6 matches
Mail list logo