Re: how to create a custom selectfield?

2005-12-28 Thread [EMAIL PROTECTED]
I mean how to write a custom SelectField, sorry for not clear in first mail.

how to create a custom selectfield?

2005-12-28 Thread wang bin
I have seen a very nice select field in http://c82.net/samples/checklist-samples.html, I am curious could i write a custom field to achieve that and using it in other projects? -- 想飞之心,永远不死! Registered Linux User 404987 [http://counter.li.org]

Re: problems importing an app

2005-12-28 Thread Yuri T.
Yes, this took care of it. Thanks. I guess I should have read the documentation more carefully, since it does say I needed to cd to myproject/apps before creating an app. Just as a suggestion, however, it might be useful to mark visually more clearly in the text the actual steps that the user ne

Re: MultiValueDict

2005-12-28 Thread Adrian Holovaty
On 12/28/05, patrick k <[EMAIL PROTECTED]> wrote: > {'body': ['some body text'], 'project': ['1'], 'note': ['1'], 'user': > ['[EMAIL PROTECTED]', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]'], > 'byuser': ['1']} > > now i´m trying to get all "users" to send them an email. > but with something like pos

Re: MultiValueDict

2005-12-28 Thread patrick k
thanks a lot. > > On 12/28/05, patrick k <[EMAIL PROTECTED]> wrote: >> now i´m trying to get all "users" to send them an email. >> but with something like post_data["user"] i only get "[EMAIL PROTECTED]". >> >> so, how can i get all the values for "user" within my dict? > > You might want to t

Re: MultiValueDict

2005-12-28 Thread James Bennett
On 12/28/05, patrick k <[EMAIL PROTECTED]> wrote: > now i´m trying to get all "users" to send them an email. > but with something like post_data["user"] i only get "[EMAIL PROTECTED]". > > so, how can i get all the values for "user" within my dict? You might want to take a look at Simon's respons

MultiValueDict

2005-12-28 Thread patrick k
i´m having some trouble with a MultiValueDict and hope that somebody can help me. my request.POST looks like this: {'body': ['some body text'], 'project': ['1'], 'note': ['1'], 'user': ['[EMAIL PROTECTED]', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]'], 'byuser': ['1']} now i´m trying to get all "u

Re: Search Functionality

2005-12-28 Thread James Bennett
On 12/28/05, Kevin <[EMAIL PROTECTED]> wrote: > Could anyone provide some hints on how they have implemented search > functionality on their web site? Did you do it django or use another > middleware (eg, Lucene)? If you did it django, did you bypass the ORM > and use direct SQL to take advantag

Search Functionality

2005-12-28 Thread Kevin
Could anyone provide some hints on how they have implemented search functionality on their web site? Did you do it django or use another middleware (eg, Lucene)? If you did it django, did you bypass the ORM and use direct SQL to take advantage of full text search? I'm currently trying to build

Re: problems importing an app

2005-12-28 Thread Adrian Holovaty
On 12/28/05, Yuri <[EMAIL PROTECTED]> wrote: > I am trying to get the basic tutorial examples working but keep running > into a problem importing the app. After I create the polls app as > suggested in the tutorial > (http://www.djangoproject.com/documentation/tutorial1/), put the sample > code i

problems importing an app

2005-12-28 Thread Yuri
I am trying to get the basic tutorial examples working but keep running into a problem importing the app. After I create the polls app as suggested in the tutorial (http://www.djangoproject.com/documentation/tutorial1/), put the sample code into polls/models/polls.py and add 'myproject.apps.polls

Re: Livepage-like functionality?

2005-12-28 Thread Robert Wittams
[EMAIL PROTECTED] wrote: > I've spent some time experimenting with Nevow's LivePage (aka LiveEvil) > fuctionality that allows the server to "send" events to the web page. > It seems to do this by doing an AJAX-style request to the server, and > then the server doesn't send any data back until eith

Re: admin interface: how to give read-only access?

2005-12-28 Thread Emanuele
OK, generic views is the way. Thanks! Emanuele

Re: admin interface: how to give read-only access?

2005-12-28 Thread Emanuele
This is _really_ interesting. I hope concrete planning on this in future. +1 Cheers, Emanuele

Re: weird template(?) error

2005-12-28 Thread wiz
> I think the way to do it is to turn TEMPLATE_DEBUG=False so you can see > the real error message. Nay. Don't works either with DEBUG=False. Same exception with 'raise wrapped' thingy. It constantly drops dead on some pages even if there a blank template...

Livepage-like functionality?

2005-12-28 Thread [EMAIL PROTECTED]
I've spent some time experimenting with Nevow's LivePage (aka LiveEvil) fuctionality that allows the server to "send" events to the web page. It seems to do this by doing an AJAX-style request to the server, and then the server doesn't send any data back until either the request times out or an ev