Hi all,
I'm using Django 1.8.1 with some models on a legacy DB. They all are in the
same app, so the router is simple:
class MyRouter(object):
MYAPP = 'pkmain'
def db_for_read(self, model, **hints):
if model._meta.app_label == self.MYAPP:
return 'other_db'
of django are you using?
Davide
Il giorno giovedì 14 agosto 2014 19:05:30 UTC+2, Daniel Grace ha scritto:
>
> I created a fixtures file called testdata.xml in a fixtures folder, but I
> can't load the fixtures file into the database.
>
> I placed an __init__.py file in the
another way is not to use fk but generic field, where patent_id is a normal
integer field. In a custom manager you have to manage the data content in
this field with data content in table field to retrieve yr linked record.
Il giorno sabato 16 agosto 2014 21:46:33 UTC+2, Aaron Law ha scritto:
>
Do you start from Ques model? What are your starting data?
Il giorno mercoledì 7 maggio 2014 15:24:38 UTC+2, Anushree ha scritto:
>
> I have the following models. I want to retrieve list of question banks
> related to a particular subject. Is it possible to do without modifying the
> existing
it seems in yr project urls.py you don't import vmware.
from django.conf.urls import patterns, include, url
from django.contrib import admin
from . import vmware
urlpatterns = patterns
Il giorno martedì 6 maggio 2014 07:09:51 UTC+2, G Z ha scritto:
>
> project name = provisioning
Well,
You are smart and and if you are still reading you are probably looking for
a fun and interesting place to work.
I am david and the CTO of Wedding Snap (weddingsnap.com) a photo sharing
application that collects pictures during events.
To build and manage the infrastructure that keep all
backend or you can use a db
router to make sure all the requests for that model are redirected to that
specific db backend.
Thanks for the support :)
Davide
Il giorno 05/apr/2012, alle ore 10:42, sebastien piquemal ha scritto:
> I guess the people that don't get the point have probably never m
On Thursday, March 8, 2012 10:04:09 PM UTC+1, Tom Evans wrote:
>
> Yes, just remove the BOM:
>
> http://en.wikipedia.org/wiki/Byte_order_mark
>
But that file is in django, not in his code, am i wrong?
--
You received this message because you are subscribed to the Google Groups
"Django users"
i can use Database Routers to keep centralized data in a
different DB, but i would like to know if there are out-of-the-box
solutions...
Regards
--
Davide Setti
blog: http://blog.flatlandia.eu
code: http://github.com/vad
--
You received this message because you are subscribed to the Google Group
, as we have to remember it is a
general purpose user class (in some applications you won't even need
email adress).
Thanks anyway for your help ;)
Davide
On Apr 10, 8:12 pm, soniiic <soni...@gmail.com> wrote:
> The way I achieved this was to make my own registration form and use
> thi
, but if I missed something please let me know.
Thanks in advance,
Davide
--~--~-~--~~~---~--~~
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@googlegroup
See the changes listed here:
http://code.google.com/p/django-tagging/wiki/BackwardsIncompatibleChanges
you may be able to give directly the queryset rather than the model
On Thu, Feb 21, 2008 at 1:25 AM, cesco <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using the latest version of the django
Victor : in that post it says that _post_save() is called twice, I
tryed to create that _post_save() but I see nobody calls it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
13 matches
Mail list logo