Re: Django URLS help app not defined

2014-05-06 Thread Davide Scatto
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

Re: query on models

2014-05-07 Thread Davide Scatto
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 da

Re: Should I use generic foreign key, and how?

2014-08-17 Thread Davide Scatto
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: >

Re: I can't load fixtures

2014-08-17 Thread Davide Scatto
when you run a test the django fixture discoverer search in all fixture subfolder in apps registered in settings.INSTALLED_APPS. you don't need __init__.py file nor FIXTURE_DIRS (fixture folder is a subfolder of app folder, isn't it?). did you add fixture param in yr test class? what version of