Database Modeling Help - Relating Instance Fields to Instance Fields

2016-03-13 Thread MattDale
I'm working on an A/V Cable and Equipment management project and have run into an issue. The application is functioning as designed, but I'd like to add another feature that keeps track of connections between equipment and cables. Since the app is working as is, I'd like to fit this feature in

Re: Trouble with objects.all() and objects.get()

2016-03-13 Thread Darrell Jonsson
Thanks for the reply. Looking at the line before the problem had to do with End of line formatting going between Windows and Linux editors. Will take your advice in the future and post more trace back information. Thanks. On 3/13/2016 10:11 PM, Daniel Roseman wrote: On Sunday, 13 March 2016

Re: AttributeError: 'module' object has no attribute 'index'

2016-03-13 Thread James Schneider
On Mar 13, 2016 11:42 AM, "kashif Nawaz" wrote: > > I read the documentation of Django i followed till page 17 then I have got an error > i do exactly the same as the tutorials in docs > please help me > > File "", line 321, in _call_with_frames_removed > File "/home/kashif/Desktop/mysite/mys

Re: Trouble with objects.all() and objects.get()

2016-03-13 Thread Daniel Roseman
On Sunday, 13 March 2016 20:01:52 UTC, NoviceSortOf wrote: > > > I can't manage to figure out why I consistently get a syntax error when > attempted to > use objects.all or objects.get. > > From my code in view.py > > >>from books.modelsimport Interests > > The Interests model imports withou

Trouble with objects.all() and objects.get()

2016-03-13 Thread NoviceSortOf
I can't manage to figure out why I consistently get a syntax error when attempted to use objects.all or objects.get. >From my code in view.py >>from books.modelsimport Interests The Interests model imports without a problem, but when I try to access the model with any of the following I

AttributeError: 'module' object has no attribute 'index'

2016-03-13 Thread kashif Nawaz
I read the documentation of Django i followed till page 17 then I have got an error i do exactly the same as the tutorials in docs please help me Unhandled exception in thread started by .wrapper at 0x7fb70bdb3510> Traceback (most recent call last): File "/home/kashif/Desktop/mysite/lib/p