I'd like to write a paragraph on my page that describes the {{ }}
syntax, but the template interpreter is interpreting the braces.
--
J. Marc Edwards
Lead Architect - Semiconductor Design Portals
Nimbis Services, Inc.
Skype: (919) 747-3775
Cell: (919) 345-1021
Fax: (919) 882-8602
marc
ere my manage.py and
settings.py are located. It seems that perhaps my settings.py file is
not being picked up from the same directory. I'm getting the same error
inside of my Eclipse Django PyDev environment.
Are there any more direct, manual process for invoking the syncdb with
the settings.
ays that this should be an iterable of 2-tuples, but seems to indicate
it could be a list as well. The documentation here seems unclear, i.e
an iterable of tuple of 2-tuples, I don't think it means this.
How can I achieve what I am looking for here?
> choices
> An iterable _/(e.g., a
used.
Would this explanation seem reasonable?
On Dec 8, 12:52 pm, Marc Edwards wrote:
> OK...adding the .pk=None did the trick, but why didn't I have to do
> this on the outer loop?
>
> On Dec 8, 11:52 am, Brian Schott wrote:
>
>
>
>
>
>
>
> > I
t;
> Brian Schott
> bfsch...@gmail.com
>
> On Dec 8, 2011, at 11:47 AM, Marc Edwards wrote:
>
>
>
>
>
>
>
> > I'm looping through some JSON code and generating new model instances
> > that I am saving to my SQLiteDB.
>
> > I have 3 nested &
Brian:
I'm getting the same behavior with the new_cmd_str.id=None.
I'm going to get a sandwich. I'll think about this more over lunch.
-M
J. Marc Edwards
Lead Architect - Semiconductor Design Portals
Nimbis Services, Inc.
Skype: (919) 747-3775
Cell: (919) 345-1021
Fax:
I'm looping through some JSON code and generating new model instances
that I am saving to my SQLiteDB.
I have 3 nested "for" loops, like this:
for app_catalog in JSON_Object['TSS_WorkFlow_Catalog']:
for eda_app in app_catalog['EDA_App']:
new_eda_app =
EDA_App(isv=eda_app['
file in any way except
through the admin interface.
On Dec 5, 7:44 pm, Marc Edwards wrote:
> This is the confusing part. The EDA_AppCatalog imports from my
> bookmarks package with no problem.
>
> My class definition for this object has only 1 field, a ForeignKey to
> an EDA_App.
verified that the table
> bookmarks_eda_appcatalog exists and that it has a column named eda_app_id?
> Did you use manage.py syncdb to create the tables?
>
> Furbee
>
>
>
>
>
>
>
> On Mon, Dec 5, 2011 at 4:24 PM, Marc Edwards wrote:
> > I am receiving the foll
I am receiving the following error from the Django debugger when
trying to access my EDA_AppCatalog object. My class definition is
listed below. I have similar defined objects that are working with no
problem, but I can't seem to clear this error message up.
Thanks, Marc
DatabaseError at /admin
I would like to create my choice fields in my models according to a
hierarchy of conditions, but I can't think of how to specify this in
Python.
For example...pseudo code...
class mod1(models.Model):
choice1 = (
('a', 'A'),
('b', 'B'),
)
choice_a_if_choice1_is_A = (
I am working through some authentication examples.
When I created my first database, I "recall" entering a username and
password, but entering what I recall was the correct input is not
authenticating.
Is there an easy way to reset or retrieve the username and password
that was used to create the
I need some help in resetting my thinking on creating my Django data
model.
I have previously created an XML schema definition for my data model,
but am now trying to re-create this XML data model in a Django data
model.
In my XML schema, I had defined "collections" of XML complex types
that esse
13 matches
Mail list logo