Re: Django lucene

2013-01-19 Thread Lie Ryan
On 18/01/13 02:43, Barun Saha wrote: Puneet, Were you able to solve this problem? I have been searching a solution for this almost the entire day! For the particular error that Puneet is having, I suspect that he should be using: ModelName.objects_search(name_first="Spike") instead of: Mo

Child-friendly blogging app

2012-07-21 Thread Lie Ryan
Hi, I'm creating a website that allows registered users (which are not is_staff) to write journals (text, images, sound, video, and uploaded files), and write comments to other's journals. The journals and comments have to be moderated by a different class of users (the moderators) before they

QuerySet exclusion

2012-02-17 Thread Lie Ryan
If I have two querysets, say 'a' and 'b', the goal is to create another queryset, say 'c', which has all elements in 'a' that is not in 'b'. I can write: c = a.exclude(id__in=b.values('id')) but this seems a little tedious, why can't I just write: c = a.exclude(b) is there any way to

Re: Could someone please give some suggestions about how to set up email sending settings on production.

2012-01-19 Thread Lie Ryan
On 01/19/2012 01:45 PM, Chen Xu wrote: but I dont want to use gmail account to send emails on production. you're leaving one thing out from your question, what do you want to use instead? Check your web host, many webhosts provides smtp service. -- You received this message because you are

Re: Url rewrite for search engines

2012-01-06 Thread Lie Ryan
On 01/07/2012 11:04 AM, Barış Bilgiç wrote: Hi, I am looking for how to implement URL rewrite in Django which is explained inhttp://en.wikipedia.org/wiki/Rewrite_engine . For example,I would like to convert |http://127.0.0.1:8000/employer/details/20/| to|http://127.0.0.1:8000/employername-20.

Re: django/Data Base Advice

2012-01-05 Thread Lie Ryan
On 01/06/2012 02:35 AM, Dennis Lee Bieber wrote: Django's models are just a means to define those independent of engine specific notation. while introducing django-specific notation, which generally maps more neatly to the theoretical foundation than SQL (while SQL maps more neatly to the imp

Re: django/Data Base Advice

2012-01-05 Thread Lie Ryan
On 01/05/2012 01:01 PM, Chris Kavanagh wrote: On Jan 4, 8:20 am, Andre Terra wrote: I'm sorry, folks, but I'll have to *vehemently **disagree *with a lot of what has been said in this thread. To the OP, I'm sorry I didn't reply any sooner. No, you *don't need *to go reading about what MVC me

Re: Creating clean URLS

2012-01-01 Thread Lie Ryan
On 01/02/2012 07:53 AM, lankesh87 wrote: I want my url to be free from parameters being passed. I have handled the request in "twitter_after_auth" function of view and I am redirecting user to the new url "http://localhost/create_cr/"; but instead the url shows some additional parameters that