Got this error
Ran into this as part of the Django tutorial (part 2) very close to
the bottom an attempt to change the page header/title.
"There was an error attempting to save 'base_site.html':Permission
denied"
when trying to save the file below (copied from django source code)
{% ex
FRom part 2 of the tutorial I am instructed to copy a file ---
Now copy the template admin/base_site.html from within the default
Django admin template directory in the source code of Django itself
(django/contrib/admin/templates) i
I can't find the path. How do I get to it?
--
You received t
I am attempting to run "python manage.py syncdb" from my apps
directory (directory where model.py exists for the app). The
settings.py database settings all appear to be ok. I have created
MySQL database with the same name as in settings.py and I have
verified its creation on the MySQL server. I
getting an error"
> > This is not a proper way to ask question. Please post
> > your trace-back somewhere and send the link to the group or at least
> > specify what error is it, so that, we could help you.
> > Thanks,
> > Anoop
>
> > atm
> > ___
>
I am trying to add the interger value 15 to a table field
CanoeKayak.listings, which is a Foreignkey field that is related to
the "Listings.id" field in another table --- a listings.id=15 exists.
What is happening?
see error below:
ValueError at /bsmain/canoekayak/add/15/
Cannot assign "[15]":"
I am having trouble passing a parent table record “id” to a new record
in a child table. My urlconf calls add_childtable in my views.py and
passes the parenttable_id to it. I have excluded the parenttable from
my ChildTableForm(ModelForm) because I do not want it to be available
to the users. Wh
You may want to check out a tutorial on lightbird.net
link is: http://www.lightbird.net/dbe/photo.html
Bill
On Jan 6, 6:35 am, MeME wrote:
> Hello,
>
> I'm new to Django. I started to write something for personal
> purposes.
> I have doubts about writing model for media files, especially ima
I am a relatively new to Django, and have just run into a wall, but I
am sure this will be a cake walk for you veterans out there. I have a
list of items I am displaying in a table in a template. That is no
problem I create an object (list of values) in my view send it to the
template and render
Brett, Thanks. That is what I needed. BillB1951
On Jan 26, 4:55 pm, Brett Epps wrote:
> It sounds like you're confused about how to add more than one piece of
> information to a template. When you render a template, the template is
> given a context, which is a Python dict obje
existing solution ... or learn Javascript.
--Bill
On Jan 27, 11:19 am, Dennis Lee Bieber wrote:
> On Thu, 26 Jan 2012 14:01:50 -0800 (PST), BillB1951
> wrote:
>
> >Brett, Thanks. That is what I needed. BillB1951
>
> Just an aside: seems like a convoluted plan t
10 matches
Mail list logo