okay i solved it by rendering a list of names
Am Sonntag, 27. Mai 2012 08:07:26 UTC+2 schrieb doniyor:
>
> yeah, you are right.. now i have another html-related problem. well, now i
> have even all html fields created thru for-loop. but now all of them have
> the same attr value: name="prod".
yeah, you are right.. now i have another html-related problem. well, now i
have even all html fields created thru for-loop. but now all of them have
the same attr value: name="prod". and now i want to refer to all of them
and send all as email to the buyer. how can i make reference to all field
oh yeah. thats true, i thought, that for-loop which Kenneth proposed
doesnot create fields but it does, so in every loop there will be a new
html field created if i do like this:
{% for p in products %}
{{p.arg1}} and {{p.arg2}}
{% endfor %}
thats the easiest way, great! i was thinking totall
On Sat, 2012-05-26 at 07:03 -0700, doniyor wrote:
> for example: user has selected 3 items from products table and then
> goes to
> next step where he sees what he has selected and then he submits the
> booking with some last information of his personal. the point is that
> if
> he has selected
does wikicamp is your working directory? try to make wikicamp as a
package to add __init__.py
On Sun, May 27, 2012 at 11:45 AM, Ali Shaikh wrote:
> Hello!!
>
>
> ViewDoesNotExist at /wikicamp/start/
> Could not import wikicamp.views.view_page. Parent module
> wikicamp.views does no
Thanks! I put it in today and it worked fine.
On May 24, 2012, at 9:10 AM, bruno desthuilliers wrote:
> On May 24, 4:30 am, forthfan wrote:
>>
>> from django import forms
>> from django.core.validators import *
>>
>> class IdentForm(forms.Form):
>> ident = forms.CharField()
>> ident_type
Hello!!
ViewDoesNotExist at /wikicamp/start/
Could not import wikicamp.views.view_page. Parent module
wikicamp.views does not exist.
Request Method: GET
Request URL:http://localhost:8000/wikicamp/start/
Django Version: 1.4
Exception Type: ViewDoesNotExist
Exception Value:
Could no
I've tried to set up the database as sqlite3. I keep getting an error
on the ENGINE line, but can't figure out why as it looks correct.
Here is the database section:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': '/usr/bin/sqlite3/mark.db', # Or
On Sat, May 26, 2012 at 3:37 PM, DF wrote:
> A TemplateSyntaxError error has occurred in my previously functional project
> and after trying for hours to resolve it, it was determined it might be a
> cache error and to empty the tmp directory at the root (the template had
> been working fine for a
That's by design. The individual Modelforms don’t delete. What you can do is
look to see if they are marked, and deleted them manually.
if formline.DELETE:
formline.instance.delete()
On May 23, 2012, at 6:01 PM, Min Hong Tan wrote:
> Hi there,
>
> i have a problem whereby,
On Saturday, 26 May 2012 15:03:47 UTC+1, doniyor wrote:
>
> the reason why i want to do this is this:
>
> the user should be able to select products from products table as many as
> he wants, at each selection i will save the product information in db, then
> the user clicks on "book" button, wh
On May 26, 2012, at 10:03 PM, DF wrote:
> The following issue has been plaguing me for many hours now and was hoping
> someone might have some insight.
>
> I've been working on my first Django project in PyCharm with few issues. This
> morning, to update software, I closed the file and restart
On May 26, 10:26 pm, Chris Seberino wrote:
> I have Homework objects that are related to Course objects for a
> school related Django app. I can access Course and Homework objects
> but there is one Homework query at the end of this email that bombs
> and I don't know why.
>
> ===
The following issue has been plaguing me for many hours now and was hoping
someone might have some insight.
I've been working on my first Django project in PyCharm with few issues.
This morning, to update software, I closed the file and restarted the
computer. When i opened the file and ran the
https://docs.djangoproject.com/en/dev/topics/db/multi-db/
On 05/26/2012 06:18 AM, Min Hong Tan wrote:
hi,
I have a situation. currently i have one default django 's database.
but, i wound like to connect to mssql/other database.
- how can i get connected to ms-sql/other database?
- is it we h
I have Homework objects that are related to Course objects for a
school related Django app. I can access Course and Homework objects
but there is one Homework query at the end of this email that bombs
and I don't know why.
===
First
Usually when I see “TypeError Exception Value: coercing to Unicode” it means
that some Model isn't returning the right thing in def __unicode__. Looking at
your code, I recommend checking out the canvas returned by desenha_grafico. I
wasn’t able to find the documentation for matplotlib, so I’m n
I've been working on a Django project, my first, with no issues. I closed
the file and restarted the computer for software updates and I'm now
receiving the following error:
Traceback (most recent call last):
File "manage.py", line 14, in
execute_manager(settings)
File
Hi Andy,
Cheers for that. I'll start looking at some JS/HTML5 frameworks.
ALJ
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/HNImAOZO9L0J.
To post to th
I'm new to django, and am trying to write a web service.
The request will have xml in the body. How can I parse that into elementtree
root node?
Thanks in advance!
-Ben
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion
the reason why i want to do this is this:
the user should be able to select products from products table as many as
he wants, at each selection i will save the product information in db, then
the user clicks on "book" button, which leads to another book.html template
where extra fields should
On 05/22/2012 10:17 PM, kooliah wrote:
I'm working on a new site and i have often the need to update the
server to let other people see the progress.
I tought to do a python script that compare the file
structure/date/time of my local version with the server version and
update only the changed/
On Saturday, 26 May 2012 09:08:47 UTC+1, doniyor wrote:
>
> Yeah, but then i dont create htmls. What i want is to create so many htmls
> as the number of objects in db. Is it possible to go around the “return“
> till the end of loop? Then i will have all htmls created with rendered
> values. Is
Hi,
search documentation for "database routers" and using() in the ORM...
HTH
Jirka
-Original Message-
From: Min Hong Tan
Sender: django-users@googlegroups.com
Date: Fri, 25 May 2012 22:18:23
To:
Reply-To: django-users@googlegroups.com
Subject: django connect alternate databa
Is it then possible to start ajax response from view function without any ajax
request from client-site? but i think this wont solve the problem because even
in ajax function i need return statement right?
--
You received this message because you are subscribed to the Google Groups
"Django us
On Sat, 2012-05-26 at 01:08 -0700, doniyor wrote:
> Yeah, but then i dont create htmls. What i want is to create so many
> htmls as the number of objects in db. Is it possible to go around the
> “return“ till the end of loop? Then i will have all htmls created with
> rendered values. Is it possible
Yeah, but then i dont create htmls. What i want is to create so many htmls as
the number of objects in db. Is it possible to go around the “return“ till the
end of loop? Then i will have all htmls created with rendered values. Is it
possible to render a html particle wihthout return statement..
This is a question that gets asked in many forms, but I am having issues
with the multi-table inherence method of doing this with Userena. I have
strong reasons for needing multiple profile types which I won't go into
here. i put example code in the following gist:
https://gist.github.com/27928
On Sat, 2012-05-26 at 00:17 -0700, doniyor wrote:
> hey guys, i need again a small help. i want to create so many htmls as the
> number of objects of my model in db. i am trying, but it is stopping after
> the first creation, because i am doing render_to_response and after the
> first render_to_
A TemplateSyntaxError error has occurred in my previously functional
project and after trying for hours to resolve it, it was determined it
might be a cache error and to empty the tmp directory at the root (the
template had been working fine for a week and nothing was changed that
might have
Sorry i forgot my {{ col}} and {{row}} variables in template, please assume
that it is there, i just forgot in posting in forum..
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.c
hey guys, i need again a small help. i want to create so many htmls as the
number of objects of my model in db. i am trying, but it is stopping after
the first creation, because i am doing render_to_response and after the
first render_to_response it is not going to the second loop, because i
"r
32 matches
Mail list logo