Multiple Databases || External Databases

2011-07-17 Thread Lycan
I am building a Django User profile management portal. In one of the sections of the website i need pull data from an external database(Its managed by someone else, i have access to it). How can i achieve this and also can someone please point me to a working example. Thanks -- You received thi

Re: Multiple Databases || External Databases

2011-07-18 Thread Uros Trebec
On Jul 17, 10:36 pm, Lycan wrote: > I am building a Django User profile management portal. In one of the > sections of the website i need pull data from an external database(Its > managed by someone else, i have access to it). > > How can i achieve this and also can someone please point me to a

Re: Multiple Databases || External Databases

2011-07-18 Thread Andre Terra
Or maybe you want to authenticate using a remote resource? Authentication using REMOTE_USER https://docs.djangoproject.com/en/dev/howto/auth-remote-user/ Cheers, AT On Mon, Jul 18, 2011 at 6:08 AM, Uros Trebec wrote: > > > On Jul 17, 10:36 pm, Lycan wrote: > > I am building a Django User pro

Re: Multiple Databases || External Databases

2011-07-18 Thread Lycan
Thank you both! On Jul 18, 1:39 pm, Andre Terra wrote: > Or maybe you want to authenticate using a remote resource? > > Authentication using > REMOTE_USERhttps://docs.djangoproject.com/en/dev/howto/auth-remote-user/ > > Cheers, > AT > > > > > > > > On Mon, Jul 18, 2011 at 6:08 AM, Uros Trebec w

Databases

2012-04-28 Thread Aurelio
Hi there, I am new to Django and I have set up my models and admin site working as I want. Perfect! But, I have a problem; I am making a little project for a search engine so I have a webcrawler, so my question is: Is there a way to acces and modify the database with the program? (not with the she

databases

2023-12-01 Thread Karim Dahman
Hi, how can create python script in terminal to update the data from old databases into new databases automaticaly -- 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, sen

Legacy databases

2008-10-16 Thread huw_at1
Hi, I want to use Django to query two legacy Oracle databases. >From what I have read Django can handle legacy databases provided the primary key is an auto-incremented integer field in the tables of the databases. Does Django work in such a way that it will take these databases and rebu

Multiple Databases

2011-07-05 Thread Nick
d googled for a bit without any luck, so i'm here to ask you for help. I would like to have two main databases, i see this is covered in the docs and is nicely implemented for general use cases. However, i also need to support dynamic database creation - i.e. one or more databases created from a

Re: Databases

2012-04-28 Thread Shawn Milochik
Assuming your PYTHONPATH is set up properly, and your DJANGO_SETTINGS_MODULE is correct or you import your settings file from your crawler, then you can just import and use the models. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Multiple databases

2015-05-18 Thread Roger Dunn
I'm spinning up a new project and nearly all of the data I need to store can be normalized. Along with this normalized data is one piece that is better suited to a nosql database. The use case is that the normalized data will be fetched often, is very tabular in nature, and the additional data

Multiple Databases

2017-02-26 Thread Luvpreet Singh
Hi everyone, I am using 2 databases in my django app. One is default sqlite and second is postgre. Now, I make a simple model named Check1 in my app, having only title attribute. class Check1(models.Model): title = models.CharField(max_length=100) Now, in my shell, >>

Distributed databases

2008-04-16 Thread [EMAIL PROTECTED]
Hello everyone, This is my first post on this list, so please by gentle and patient ;) I would like to ask, if it is possible to have DJango running on one machine, and have several databases (each with different content) on other machines. Basically I would specify a few tables, and each would

multiple databases

2007-06-24 Thread grassoalvaro
Is that project dead or maybe still unofficial supported? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from

Databases configuration

2018-12-06 Thread Cool Smith
Hi everyone, I am new to Django. I have started a new project running on my localhost. Rather than using the default sqlite database, I changed it to mysql with the following settings on MacOS High Sierra v13.10.6: DATABASES = { 'default': { 'ENGINE': '

Databases configuration

2018-12-07 Thread Chuck R
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'mysql', 'USER': 'root', 'PASSWORD': 'root', 'HOST': '', &

Re: databases

2023-12-01 Thread Madhusudhan Reddy
Bro please explain the scenario and the problem. Nobody will not give proper answer until you proper details. On Fri, 1 Dec 2023 at 7:52 PM, Karim Dahman wrote: > Hi, > how can create python script in terminal to update the data from old > databases into new databases automaticaly >

Re: databases

2023-12-01 Thread Dawda Borje Kujabi
Well yes you can dependong on your databases. What kind of databases do you have? On Friday, December 1, 2023 at 2:43:20 PM UTC Madhusudhan Reddy wrote: > Bro please explain the scenario and the problem. > Nobody will not give proper answer until you proper details. > > On Fri, 1

Re: databases

2023-12-01 Thread Dawda Borje Kujabi
Well you can depending on your databases, what kinda dtatbase do you have? On Friday, December 1, 2023 at 2:23:00 PM UTC Karim Dahman wrote: > Hi, > how can create python script in terminal to update the data from old > databases into new databases automaticaly > -- You received

Re: databases

2023-12-07 Thread Swarup Selvaraj
create python script in terminal to update the data from old databases into new databases automaticaly -- 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 a

Re: Legacy databases

2008-10-16 Thread Dj Gilcrease
Your first obstacle (currently) is going to be getting django to work with multiple databases (the two Oracle and whatever its base DB is). This is achievable, but undocumented and involves knowing the internals of the QuerySet. Once you have that setup and functional (I would create separate

Accessing Multiple Databases

2008-12-15 Thread Tom Eastman
Hey Guys, I'm about to start developing a web front-end for a large database being developed by a colleague. The web front-end is only going to be accessing a sub-set of the database, and mostly via 'views' that will be specific to the requirements of the web frontend. I want to use Django,

Accessing Multiple Databases.

2008-12-15 Thread Tom Eastman
Hey Guys, I'm about to start developing a web front-end for a large database being developed by a colleague. The web front-end is only going to be accessing a sub-set of the database, and mostly via 'views' that will be specific to the requirements of the web frontend. I want to use Django,

Dumping Large Databases

2009-08-10 Thread Chris
I'm trying to dump a 3GB MySQL database using manage.py dumpdata, but it's getting killed after 2 hours. Is there any way to get it to use less memory/cpu so it doesn't get killed and completes the dump? --~--~-~--~~~---~--~~ You received this message because you ar

Visualization of databases

2008-07-12 Thread Xan
Hi, Is there any tool for visualizing database data? I mean for example, to build graphics like piechart, linechart, classification of database data in a frequency table (for example creating preaty diagrams like piwik [http://piwik.org/), or with R [http://www.r-project.org/], or gnuplot, )

Using multiple databases

2008-07-18 Thread CPF_
Hi, I'm currently starting a project in django, and there's some data already in another database. We're planning to go and use that information (more specifically user information) in the django application. However, this forms several problems: 1) There are 2 different data

Multiple databases/engines

2009-04-06 Thread Marcello Parra
Hello, I started to play with Django some weeks ago. I'm very impressed with it and making some tests with an application I have already running... The problem is that I need to connect to two databases using two different engines (MS SQL Server and Mysql). I found a doc about using 2 data

Searching disparate databases

2009-06-08 Thread Amit Sethi
would make adding a store a breeze . But the problem is that these databases / feeds might be very different . The datamodels might be very different . So how do I integrate such databases. I just need to extract the product and its price from a store. -- A-M-I-T S|S

Multiple databases - syncdb

2010-02-01 Thread Klemens Mantzos
in the db. and i couldnt even figure out if the DATABASE_ROUTERS are correctly configured and working (django don't throws an error if the DATABASE_ROUTERS = ['foo.bar']) ### Django version 1.2 alpha 1 SVN-12120 ### project/settings.py DATABASES = { 'defau

Question on databases

2010-08-05 Thread cootetom
Is it better to have one large database with all the data for a web site in it or many smaller databases that hold data for specific area's of a web site in it? Thinking that one database with some sort of clustering technology is better than trying to manage many smaller databases? Als

joining across databases

2011-01-07 Thread David
Strictly, joining across databases is usually impossible. However, I'm looking at mechanisms to achieve that functionality and I just wanted to get a sanity check to see that what I'm doing makes sense or if there is a better way. I have one database in Postgres and a legacy database i

Help-Multiple Databases

2011-07-05 Thread Lycan
Hello, I am kind of new to Django and am trying to understand multi-db. Does anyone know where i can download a complete working example of django project implementing multi-db? Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Multiple Databases

2011-07-05 Thread Venkatraman S
On Tue, Jul 5, 2011 at 6:39 PM, Nick wrote: > However, i also > need to support dynamic database creation - i.e. one or more databases > created from a single model (think of these as customer specific > databases). I will be using sqlite and want to save the path/ > connection

Re: Multiple databases

2015-05-18 Thread Javier Guerra Giraldez
es handle json or xml documents quite well (in fact, arguably better than most "document databases" out there) -- Javier -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emai

Re: Multiple databases

2015-05-19 Thread Galia Ladiray
It depends what you need, We use redis for non sql, and postgres for sql, You can use an id field to have a link between them. Django 1.8 has a support for postgres specific fields like HStore, maybe this is good enough for you? Galia On Tuesday, May 19, 2015 at 2:40:17 AM UTC+2, Roger Dunn wrot

Re: Multiple Databases

2017-02-26 Thread Dylan Reinhold
It is going to use the database named default. Checkout the doc on using mutiple DBs https://docs.djangoproject.com/en/1.10/topics/db/multi-db/ Dylan On Sun, Feb 26, 2017 at 11:17 PM, Luvpreet Singh wrote: > Hi everyone, > > I am using 2 databases in my django app. One is default s

Re: Multiple Databases

2017-02-27 Thread Luvpreet Singh
/topics/db/multi-db/ > > Dylan > > > On Sun, Feb 26, 2017 at 11:17 PM, Luvpreet Singh > wrote: > >> Hi everyone, >> >> I am using 2 databases in my django app. One is default sqlite and second >> is postgre. >> >> Now, I make a simple mode

Re: Multiple Databases

2017-02-27 Thread ludovic coues
is going to use the database named default. >> Checkout the doc on using mutiple DBs >> https://docs.djangoproject.com/en/1.10/topics/db/multi-db/ >> >> Dylan >> >> >> On Sun, Feb 26, 2017 at 11:17 PM, Luvpreet Singh >> wrote: >>> >>>

Multiple Databases --- Migrations

2017-02-27 Thread Luvpreet Singh
I am using 2 postgres databases in my django app. 'newpostgre': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'new_postgre2', 'USER': 'tester',

Accessing multiple databases

2008-04-15 Thread RaviKondamuru
Hi, I am intending to use two different databases. Essentially retrieve some data from a remote database and have some data in the local database. Is such configuration supported in Django? Any pointers to such configuration possibility? thanks, Ravi

Re: Distributed databases

2008-04-16 Thread Guillaume Lederrey
On 16/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > display this data. Would be also possible, to have different database > types (i would like to have several sqlite databases and one postgres > running)? > > I need all this for scalability reasons. I am c

Re: Distributed databases

2008-04-16 Thread Michael Wieher
This is my first post on this list, so please by gentle and patient ;) > > I would like to ask, if it is possible to have DJango running on one > machine, and have several databases (each with different content) on > other machines. Basically I would specify a few tables, and

Re: Distributed databases

2008-04-16 Thread Norman Harman
I've never seen anything that would make this "easy" in Django itself. You will probably have more luck looking into sql proxies. Django will talk to the proxy, the proxy will figure out what database to actually query and return results to Django. This way Django doesn't have to change, do

Re: Distributed databases

2008-04-16 Thread RaviKondamuru
rst post on this list, so please by gentle and patient ;) > > I would like to ask, if it is possible to have DJango running on one > machine, and have several databases (each with different content) on > other machines. Basically I would specify a few tables, and each would > be in dif

Re: Distributed databases

2008-04-16 Thread Chris Czub
e, > > > > This is my first post on this list, so please by gentle and patient ;) > > > > I would like to ask, if it is possible to have DJango running on one > > machine, and have several databases (each with different content) on > > other machines. Basically

Re: Distributed databases

2008-04-16 Thread mg
e, > > > > This is my first post on this list, so please by gentle and patient ;) > > > > I would like to ask, if it is possible to have DJango running on one > > > machine, and have several databases (each with different content) on > > > other machine

Re: Distributed databases

2008-04-17 Thread Wes Winham
t; > > Ravi. > > > > On Apr 16, 6:19 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > Hello everyone, > > > > > This is my first post on this list, so please by gentle and patient ;) > > > > > I would like to

Re: Distributed databases

2008-04-17 Thread Wes Winham
Found it. http://softwaremaniacs.org/soft/mysql_cluster/en/ (found through Simon Willison's blog). It looks like my memory was wrong though, because it doesn't switch databases automatically depending on query type. It leaves it up to the view to decide which database to use. If you

Re: multiple databases

2007-06-25 Thread grassoalvaro
Anyone? That was greate idea but i see that last update was long time ago... i need multiple databases in my project so if anyone know anything about this (maybe own solutions in this area?) please inform me. On Jun 24, 6:14 pm, grassoalvaro <[EMAIL PROTECTED]> wrote: > Is that projec

Re: multiple databases

2007-06-25 Thread Jeremy Dunck
On 6/25/07, grassoalvaro <[EMAIL PROTECTED]> wrote: > > Anyone? That was greate idea but i see that last update was long time > ago... i need multiple databases in my project so if anyone know > anything about this (maybe own solutions in this area?) please inform > me. >

Re: multiple databases

2007-06-25 Thread [EMAIL PROTECTED]
... someone will give him permissions to commit. On Jun 25, 3:19 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > On 6/25/07, grassoalvaro <[EMAIL PROTECTED]> wrote: > > > > > Anyone? That was greate idea but i see that last update was long time > > ago...

Re: multiple databases

2007-06-26 Thread Jacob Kaplan-Moss
On 6/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Ben Ford is working on merging in changes from the trunk in with the > branch... at this time neither he or myself ( I had planned on doing > this but found he was farther ahead of me ) have commit permissions to > the project... but hopef

Re: multiple databases

2007-06-27 Thread benf
Hi Guys, I'm in the middle of the latest set of updates (the merge of the oracle branch with trunk), the only thing left to do is sort out the core.management module (68 conflicts!!). I should have that cracked by the end of today and it would be great to get it checked in so others could help wit

using multiple databases

2007-09-17 Thread msoulier
I was hoping to use Django in a web management UI for a server that I support, where new UIs are added as new applications are installed. Due to this plugin requirement, I had planned to model that with one large Django project, where each new plugin was a Django application. Unfortunately it wou

Accessing Multiple Databases

2007-12-11 Thread Derek Steinkamp
I read through all the relevant documentation but I couldn't find any info on an issue I am about to face: accessing multiple tables in different databases with Django. Here's a quick example: My Django app (MyApp) has r/w access to the MyApp database on MySQLserver1, and all of My

Splitting the databases

2006-06-23 Thread sean
hi, I was wondering if django provides the possibility to split up the database. I don't feel comfortable with having all the auth tables, the flatpages, the comment system and such in the same db as the content. Maybe it's as easy as overwriting the settings.py file in an app? Even if this can be

per-user databases

2006-12-16 Thread James Tauber
As I've mentioned in my blog in the past, I'm porting my nascent flashcard testing website, Quisition, over to use Django. Because a lot of data is specific to a user, my system would be a lot more scalable if I had a separate sqlite database for each user, just for the user-specific inform

Regarding Multiple Databases

2018-06-19 Thread RASHMIT PANKHANIA
Hello: I am Rashmit Pankhania and my doubt is regarding using multiple(two) databases and i want to create particular table in only one database but after migrating it happens on both.Also after migrating it show only django-migration table in second database.you can follow the code on https

Regarding Multiple Databases

2018-06-19 Thread RASHMIT PANKHANIA
hi i m here first time, my doubt is regarding using multiple(two) databases and i want to create particular table in only one database but after migrating it happens on both.you can follow the code on https://dpaste.de/arP9 -- You received this message because you are subscribed to the Google

Re: Databases configuration

2018-12-06 Thread C. Kirby
> the following settings on MacOS High Sierra v13.10.6: > > DATABASES = { > 'default': { > 'ENGINE': 'django.db.backends.mysql', > 'NAME': 'mysql', > 'USER': 'root', > 'P

Re: Databases configuration

2018-12-06 Thread Arnaldo Díaz Molina
ne, >> >> I am new to Django. I have started a new project running on my localhost. >> >> Rather than using the default sqlite database, I changed it to mysql with >> >> the following settings on MacOS High Sierra v13.10.6: >> >> DATABASES =

Re: Databases configuration

2018-12-07 Thread Cool Smith
new project running on my localhost. >> Rather than using the default sqlite database, I changed it to mysql with >> the following settings on MacOS High Sierra v13.10.6: >> >> DATABASES = { >> 'default': { >> 'ENGINE': 'djang

Re: Databases configuration

2018-12-07 Thread Cool Smith
ather than using the default sqlite database, I changed it to >>> mysql with the following settings on MacOS High Sierra v13.10.6: >>> >>> DATABASES = { >>> 'default': { >>> 'ENGINE': 'django.db.back

Re: Databases configuration

2018-12-07 Thread Kasper Laudrup
Hi Cool Smith, On 12/7/18 10:11 AM, Cool Smith wrote: I tried starting MYSQL server on System Preferences. However, it seems the server will shutdown automatically a few seconds later. You would probably have a better chance of getting useful responses if you posted your question in a forum

Re: Databases configuration

2018-12-07 Thread Chuck R
yone, >> >> I am new to Django. I have started a new project running on my localhost. >> Rather than using the default sqlite database, I changed it to mysql with >> the following settings on MacOS High Sierra v13.10.6: >> >> DATABASES = { >> 'default

Re: Databases configuration

2018-12-07 Thread Daniel M
ather than using the default sqlite database, I changed it to >>> mysql with the following settings on MacOS High Sierra v13.10.6: >>> >>> DATABASES = { >>> 'default': { >>> 'ENGINE': 'django.db.backends.mysql', >

Working with Databases

2019-05-26 Thread Derek Dong
I'm relatively new to Django and web development in general but have decent coding experience. My questions are primarily related to how to work with models to create a ranking system. Some background: I'm an officer for an academic school team and am trying to implement a ranking system that de

Using Multiple databases

2022-04-06 Thread Vasanth Mohan
Hello, I'm building a PoC for a multi-tenant app where I'm trying to use the same schema across multiple databases with Django instance. I've got a couple of questions and I'd be happy to have some input 1. Is there a way to define the *using()* function to use wi

DATABASES is improperly configured. Please supply the ENGINE value - 2 databases

2013-03-18 Thread Andrew Taylor
jango.db import connections PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__)) DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_em...@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE

Re: Accessing Multiple Databases.

2008-12-15 Thread Malcolm Tredinnick
that the "natural" database is your Django-specific one and then accesses to the other database is done via a custom manager. There are a few blog posts around about accessing multiple databases in ways that work reliably, until such time as Django ships with it by default. I'l

Re: Accessing Multiple Databases.

2008-12-15 Thread Malcolm Tredinnick
On Tue, 2008-12-16 at 14:28 +1100, Malcolm Tredinnick wrote: > > On Tue, 2008-12-16 at 15:25 +1300, Tom Eastman wrote: > > Hey Guys, > > > > I'm about to start developing a web front-end for a large database being > > developed by a colleague. The web front-end is only going to be > > access

Re: Accessing Multiple Databases.

2008-12-16 Thread Tom Eastman
Malcolm Tredinnick wrote: > In hindsight, I probably wasn't clear as to why I'm suggesting this: > there are a lot of places where Django would like to write to your > database (sessions, auth lookups, ...). You can configure around and > away from each of those in turn, but, if this were me, I'd

Multiple Databases Revisited (Interim)

2009-02-17 Thread proteus...@gmail.com
I've been following the discussion about supporting multiple databases within one project (primarily on a per-app or per-model basis) with interest and look forward to the feature getting solidified and implemented into the trunk one day. That doesn't appear to be a near term even

Re: Dumping Large Databases

2009-08-10 Thread Malcolm Tredinnick
On Mon, 2009-08-10 at 17:02 -0700, Chris wrote: > I'm trying to dump a 3GB MySQL database using manage.py dumpdata, but > it's getting killed after 2 hours. Is there any way to get it to use > less memory/cpu so it doesn't get killed and completes the dump? Is there some particular reason you nee

Re: Dumping Large Databases

2009-08-11 Thread Chris Spencer
I guess I should have prefixed that by saying my goal is to migrate from MySQL to PostgreSQL. However, I'm having trouble finding a tool to do this, so I thought I'd try Django's backend neutral dumpdata/loaddata feature. Chris On Mon, Aug 10, 2009 at 9:48 PM, Malcolm Tredinnick wrote: > > On Mo

Re: Dumping Large Databases

2009-08-11 Thread Alex Gaynor
On Tue, Aug 11, 2009 at 5:37 AM, Chris Spencer wrote: > > I guess I should have prefixed that by saying my goal is to migrate > from MySQL to PostgreSQL. However, I'm having trouble finding a tool > to do this, so I thought I'd try Django's backend neutral > dumpdata/loaddata feature. > > Chris >

Legacy Databases - custom filter?

2008-05-18 Thread Dougal
I've had a look at http://www.djangoproject.com/documentation/legacy_databases/ but it doesn't cover too much detail... I've got a mySQL 5 database with a number of tables. The data structure requires a few complex queries that I don't see how I can do through the models. How would I then do thi

Re: Visualization of databases

2008-07-12 Thread Oscar Carlsson
There are a number of different toolkits that could do this for you, here are three that looks usable: http://code.google.com/apis/chart/ http://developer.yahoo.com/yui/charts/ http://matplotlib.sourceforge.net/ With (at least) matplotlib you could make your charts automatically in your model, sin

Re: Visualization of databases

2008-07-12 Thread jdelacueva
Also take a look at Python Google Chart: http://pygooglechart.slowchop.com/ On Jul 12, 7:36 pm, "Oscar Carlsson" <[EMAIL PROTECTED]> wrote: > There are a number of different toolkits that could do this for you, here > are three that looks > usable:http://code.google.com/apis/chart/http://develop

Re: Using multiple databases

2008-07-18 Thread Dan
ing regular operations on them. It might be possible with other databases too, I don't know. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-

Re: Using multiple databases

2008-07-18 Thread [EMAIL PROTECTED]
database but will > act as normal tables when doing regular operations on them. > > It might be possible with other databases too, I don't know. Hi Dan, thanks for the reply. We are indeed using MySQL, and attemipting to symlink (as the mysql documentation at http://dev.mysql.com

Re: Using multiple databases

2008-07-20 Thread CPF_
use the federated engine for tables >> that are only "symlinks" to real tables in another database but will >> act as normal tables when doing regular operations on them. >> >> It might be possible with other databases too, I don't know. > Hi Dan, thanks

Re: Using multiple databases

2008-07-20 Thread Ben Ford
Hi There, It has been possible in the past to use multiple databases with django. There was a branch for it and about a year ago it was bought up to date with trunk. However that branch hasn't seen any activity for some time and is effectively dead. There's now a (low key) effort un

Re: Using multiple databases

2008-07-20 Thread CPF_
Ben Ford wrote: > Hi There, > > It has been possible in the past to use multiple databases with > django. There was a branch for it and about a year ago it was bought > up to date with trunk. However that branch hasn't seen any activity > for some time and is effectiv

Re: Using multiple databases

2008-07-21 Thread Amirouche
Have a look a this http://code.djangoproject.com/ticket/4747 & http://trac.woe-beti.de/ On 21 juil, 03:04, CPF_ <[EMAIL PROTECTED]> wrote: > Ben Ford wrote: > > Hi There, > > > It has been possible in the past to use multiple databases with > > django. There wa

Re: Using multiple databases

2008-07-21 Thread Ben Ford
It won't be in 1.0. It's only really been kicked off recently, so you'll have to wait a while :-) 2008/7/21 CPF_ <[EMAIL PROTECTED]>: > > Ben Ford wrote: > > Hi There, > > > > It has been possible in the past to use multiple databases with > >

django and sql databases

2008-09-03 Thread David
Hi, I am still learning django and was wondering on the following question as to how one would go about doing it in the django framework: If I have a cron job that dynamically creates new tables that are spawned out of new entries in a main table. For example Table 'Global' has a new entry 'A' th

Re: Multiple databases/engines

2009-04-06 Thread Malcolm Tredinnick
On Mon, 2009-04-06 at 21:22 -0300, Marcello Parra wrote: > Hello, > > I started to play with Django some weeks ago. I'm very impressed with > it and making some tests with an application I have already running... > > The problem is that I need to connect to two database

Re: Searching disparate databases

2009-06-08 Thread John
I would have your internal model how you like for the best application design and then write cron scripts that import into your main db from the other disparate format databases. Have a field in your internal model so you know the original source of each entry. Reimport when the third party DBs

django and xml databases

2009-11-11 Thread Martin Mueller
I'm interested in projects that have used Django with an xml database such as eXist or Berkeley. I'm aware of one project along those lines but would like to find out about others. It is easy to imagine projects that combine data some of which are more easily stored in XML and some in SQL. If the

Re: Multiple databases - syncdb

2010-02-03 Thread Russell Keith-Magee
On Mon, Feb 1, 2010 at 11:07 PM, Klemens Mantzos wrote: > hi list, > > checked out the new multidb feature > (http://docs.djangoproject.com/en/dev/topics/db/multi-db/). > > i assumed that syncdb would only sync those models in the database > when calling allow_syncdb() of the database routers retu

Re: Multiple databases - syncdb

2010-02-03 Thread Klemens Mantzos
erRouter(object): """A router that sets up a simple master/slave configuration""" ... def allow_syncdb(self, db, model): "Explicitly put all models on all databases." return True any suggestions? thx for your time, klemens On Wed,

Re: Multiple databases - syncdb

2010-02-03 Thread kmpm
@klemens you are most definitely not alone. I made a router that would allow me to have one database per app and I get exactly the same type of error on both postgres and sqlite. Doing syncdb on the default db work as it should but when I in this case do a ./manage.py syncdb --database=ads I get th

Re: Multiple databases - syncdb

2010-02-03 Thread Russell Keith-Magee
      return model._meta.app_label == 'auth' >       elif model._meta.app_label == 'auth': >           return False >       return None > > > class OtherRouter(object): >   """A router that sets up a simple master/slave configuration"""

Virtual Private Queries/Databases

2010-07-16 Thread Venkatraman S
Hi, I was wondering whether its possible to have something similar to virtual private queries/databases via the django ORM? As in, the Oracle database provides something called VPD by which policies can be enforced wherein a user sees data only that he is allowed to see. ( http://www.oracle.com

testing with multiple databases

2010-07-27 Thread berto
Hello Djangonauts, I am using django in an application that has multiple distinct databases, each with unique data (i.e. not master/slave type configuration). I've created an app (django-admin.py startapp) for each database and the settings.py defines DATABASE_ROUTERS where I specify

Multiple Databases and ModelFormSets

2010-08-04 Thread Parker
I am somewhat new to Django and am trying to use the ModelFormSets alongside multiple-databases. I'm trying to create an empty ModelFormSet that will allow me to create objects for a specific database and pull in the appropriate drop-downs from that database. What I'm seeing is that th

Re: Question on databases

2010-08-05 Thread Steve Holden
On 8/5/2010 7:53 AM, cootetom wrote: > Is it better to have one large database with all the data for a web > site in it or many smaller databases that hold data for specific > area's of a web site in it? > > Thinking that one database with some sort of clustering technol

Re: Question on databases

2010-08-06 Thread cootetom
7:53 AM, cootetom wrote:> Is it better to have one large database > with all the data for a web > > site in it or many smaller databases that hold data for specific > > area's of a web site in it? > > > Thinking that one database with some sort of clustering technology

model across several databases

2010-09-08 Thread qMax
Hi. Being quite new in django, I have a task to integrate data from multiple databases. And I wonder if django-1.2 multibase capabilities can help me in that. The idea is like that: class PersonModel(Model): id = AutoKey(primary_key=True) system = ForeignKey(SystemUsers, blank

aggregating models across databases

2010-10-13 Thread qMax
Hello. I still cannot figure out how to deal with the task: An entity is represented by several models in different databases. (for instance - one model tores system logins, another model - phones and emails, etc) There are rules to find out related models based on common field. I'd like to

  1   2   3   4   5   6   >