Re: 'MediaDefiningClass' object is not iterableRequest Method

2009-07-02 Thread jayvandal
ramData' PROGRAMFILES 'C:\\Program Files' PROMPT '$P$G' PUBLIC 'C:\\Users\\Public' PYTHON_HOME 'c:\\python26\\' QTJAVA 'C:\\Program Files\\Java\\jre6\\lib\\ext\\QTJava.zip' QUERY_STRING '' REMOTE_ADDR '127.0.0.1' REMOTE_HOST '

'MediaDefiningClass' object is not iterableRequest Method

2009-07-02 Thread jayvandal
g', 'C:\\Windows\\system32\\python26.zip', 'C:\\Python26\\DLLs', 'C:\\Python26\\lib', 'C:\\Python26\\lib\\plat- win', 'C:\\Python26\\lib\\lib-tk', 'C:\\Python26', 'C:\\Python26\\lib\ \site-packages', 'C:\\Python26\\lib\\

book.object.all() what is this?

2009-06-21 Thread jayvandal
I know from the tutorial that the statement is to get all of the records in the book table. What I don't know is where I find the syntax for all coding such as find the certain author and get all the books written by the author. I thought that it is not python but some abbreviation of python. Th

templates in Practical Django Projects

2009-06-11 Thread jayvandal
I am now on linux . I created a CMS under jim/djp/ I created the projec t to the flatpages. I am trying to create templates. I created a templates in jim/djp/templates.I created cms under templates, then flatpages directory. I then created default.html In the setting I put the template_dir = (

templates in Practical Django Projects

2009-06-11 Thread jayvandal
I am now on linux . I created a CMS under jim/djp/ I created the projec t to the flatpages. I am trying to create templates. I created a templates in jim/djp/templates.I created cms under templates, then flatpages directory. I then created default.html In the setting I put the template_dir = (

Basic cms in Practical Django Projects

2009-06-10 Thread jayvandal
Hi, I bought the book and started the first project. displayed the Flat Page. I then downloaded the Tiny0MCE and can't get it to work. are there any places wher I an get a source code listing? Thanks for any help --~--~-~--~~~---~--~~ You received this message becau

display title from master record

2009-06-08 Thread jayvandal
I have the four models , 1. Patient has 2.doctors and 3.pills the 3.Pills have 4.rders In the aadmin screen the displays are in Doctors Orders Patients Pills I would like to be able add a pillto the file and then add all orders for that pill On my order screen, how can I display the title from

how many levels allowed in models

2009-06-07 Thread jayvandal
I have four tables 1 Patient 2 has many doctors 3 doctor issues pills 4 order many pills when I run syncdb I get the 3 levels showing in adminstrative screen. I can't get it to show the order screen (4) I tried the admin.site.register (Patient, Doctor, Pill

can't run django on uBUNTU

2009-03-18 Thread jayvandal
I downloaded Django Django-1.0.2.tar.gz. I tried to install by clicking on the by opening it and then extract it. i run python installand get no error messages. I get the notice I am in Python I try to run Django-admin.py and get an error. It does not seem to recognize Django I run the