Re: how to use COMMENT_APPS?

2008-09-16 Thread Thejaswi Puthraya
a django app (that you want to use for comments), then you reference it in the settings.py by using COMMENTS_APP. Make sure to have the three attributes above in the custom comments app __init__.py. That's it you are done. But let me warn you that there are still some tickets that help make the

Re: akismet and the new comments app

2008-09-12 Thread Thejaswi Puthraya
al stage, or there might be some other   > settings floating around that are poisoning the whole thing? Sorry if   > this is an unhelpful request for help, mostly I want to know if   > anyone's been down this road yet. > > Thanks, > Eric -- Cheers Thejaswi Puthraya --~--~--

Re: Custom Comment Form - post_comment()

2008-09-12 Thread Thejaswi Puthraya
; > seems like it is easy but I am sorry I couldn't figure out how to pass > it to the form.. I've opened a ticket for this and is available for review at http://code.djangoproject.com/ticket/8803. -- Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You rece

Re: reverse not working with (r'^comments/(.*)', include('django.contrib.comments.urls')),

2008-09-08 Thread Thejaswi Puthraya
ngo/core/urlresolvers.py in reverse(self, lookup_view, *args, **kwargs) 239 return candidate 240 raise NoReverseMatch("Reverse for '%s' with arguments '%s' and keyword " --> 241 "arguments '%s' not fou

Re: Comments customization

2008-09-08 Thread Thejaswi Puthraya
I don't know how to resolve   > these issues. Can anybody help me here? > > -- > We read Knuth so you don't have to. - Tim Peters > > Jarek Zgoda, R&D, Redefine > [EMAIL PROTECTED] -- Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You

Re: what's wrong with my django comments?

2008-09-03 Thread Thejaswi Puthraya
; > I don't know how to do ,who can help me ? Did you try removing the pyc files from the the comments directory and its sub-directories and check out? -- Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: Custom Comment Form - post_comment()

2008-09-02 Thread Thejaswi Puthraya
On Sep 1, 6:22 pm, oversize <[EMAIL PROTECTED]> wrote: > Hello, > i just had the following problem and am not sure whether this is the > way its wants to be: > > I used  {% get_comment_form for foo as form %}  to build my own custom > form. The Form is very simple because only logged in user can a

Re: Help debugging Django/MySQLdb exception

2007-12-05 Thread Thejaswi Puthraya
rom the PEP 249[1], you seem to have a problem with MySqldb. Try reinstalling it and check if the error persists. [1] http://www.python.org/dev/peps/pep-0249/ Cheers Thejaswi Puthraya http://thejaswi.info/ --~--~-~--~~~---~--~~ You received this message because y

Re: IRC Channel

2007-11-27 Thread Thejaswi Puthraya
wanted to > add something about the djangosprint to the topic. Magus or Magus- is the owner of the IRC channel. Contact him and he'll help you do it. Cheers Thejaswi Puthraya http://thejaswi.info/ --~--~-~--~~~---~--~~ You received this message because

Re: Partial Validation in newforms

2007-11-27 Thread Thejaswi Puthraya
es it mean that you clean each field before cleaning the form. Looks like you have got the fundae wrong. Check out James Bennett's blog on http://www.b-list.org/weblog/2007/nov/22/newforms/ for how newforms work exactly. Cheers Thejaswi Puthraya

Re: Problem subclassing forms

2007-11-27 Thread Thejaswi Puthraya
ut how to use the forms > with files (FileField or ImageField) Read James Bennett's post on Newforms for the solution to this problem. http://www.b-list.org/weblog/2007/nov/25/newforms/ Cheers Thejaswi Puthraya http://thejaswi.info/ --~--~-~--~~~---~--~~ You rece

Re: Could I use django as a wiki replacement?

2007-11-27 Thread Thejaswi Puthraya
I guess you already got the answer for this. Cheers Thejaswi Puthraya http://thejaswi.info/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djang

Re: Pylucene

2007-11-27 Thread Thejaswi Puthraya
FullTextSearch capabilities of Lucene, Xapian and Hyper during Summer of Code 2006. Check out http://code.djangoproject.com/wiki/TextIndexingAbstractionLayer for more details. Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are su

Re: Javascript including in django's template doesn't work

2007-11-15 Thread Thejaswi Puthraya
> I feel strange about the URL: /ajas/register/jquery.js, but I don't know how > to get it right. Serving static files is slightly different in Django. Check http://www.djangoproject.com/documentation/static_files/ Cheers Thejas

Re: binding data with imageupload in newforms

2007-11-14 Thread Thejaswi Puthraya
> file_data = {'mugshot': {'filename':'face.jpg' > ... 'content': }} f = open("somefile.jpg","r") image_data = f.read() file_data = {'mugshot'

Re: parsing Django RSS feeds for content reposting

2007-11-08 Thread Thejaswi Puthraya
level RSS framework [1] to declare and customize content you want to include in the feed. Check up RSS Specifications [2] for more clarity. [1] http://www.djangoproject.com/documentation/syndication_feeds/#the-low-level-framework [2] http://www.rssboard.org/rss-specification

Re: Unable to Login To Admin Interface

2007-11-02 Thread Thejaswi Puthraya
g the admin URL in the urls.py file? If you have done this step, let us know if you are getting any error and please paste a traceback of the error to help you better. Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are s

Re: Is posted data always in order?

2007-10-18 Thread Thejaswi Puthraya
On Oct 19, 12:39 am, Ken <[EMAIL PROTECTED]> wrote: > I've tried a couple of test cases and it appears that the data > returned in HttpRequest.POST is ordered. request.POST is a python dictionary and the keys need not be ordered. Cheers

Re: internationalization xgettext error

2007-10-15 Thread Thejaswi Puthraya
On Oct 15, 5:03 pm, AniNair <[EMAIL PROTECTED]> wrote: [snipped] > Please guide me/tell me where I should be looking for errors. Refer to the Django i18n list for best support. http://groups.google.com/group/django-i18n/ Cheers Thejaswi

Re: problem to connect with mysql...

2007-10-13 Thread Thejaswi Puthraya
Hi Hern, [snipped] > I actually tried deinstalling django, py-mysqldb and reinstalling > everything from the ports (that's a freebsd machine...) and it didn't > change anything. Can you give us the version of mysqldb ports is trying to install. Mysqldb >= 1.2.2 is suppo

Re: problem to connect with mysql...

2007-10-12 Thread Thejaswi Puthraya
o.16: Undefined symbol > "pthread_getschedparam" Going by the error you have got there is a "thread" problem with MySQLdb's dependencies. Better reinstall it according to your database configuration. Cheers Thejaswi Puthraya --~--~-~--~~~---~

Re: Using an existing database of astronomic images

2007-10-02 Thread Thejaswi Puthraya
[snipped] > First and before the feeding of the database, after creating my > database in the mysql prompt by inserting SQL code could django > analyse my clean database and create class for each table? > with the right field type? Try using the inspectdb command. Refer to http://www.djangoprojec

Re: Handling DB connect error.

2007-10-02 Thread Thejaswi Puthraya
7;t seem to figure it > out. Thanks! Use the tryexcept statements. try: except OperationalError: return HttpResponse("Sorry Site is down") # you could also use render_to_response Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received th

Re: default locations for css and js files

2007-10-02 Thread Thejaswi Puthraya
the urls.py file. Check out http://www.djangoproject.com/documentation/static_files/ for more details. Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: Django Email Failure

2007-10-02 Thread Thejaswi Puthraya
f Django do you use? Django 0.96 or from the subversion repository? Can you also give us some information about the OS you use...sometimes Windows XP firewall blocks port 25. Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you a

Re: Downloadable HTML documentation?

2007-09-30 Thread Thejaswi Puthraya
he documentation in the django package (either trunk or stable) to html. The only problem would be that all the links wouldn't work fine. Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Django Email Failure

2007-09-30 Thread Thejaswi Puthraya
[snipped] > I get the error message: > > SMTP AUTH extension not supported by server. It would be helpful if you could post the exact error message. Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are subscrib

Re: Signals Question - Firing off an email after a save

2007-09-02 Thread Thejaswi Puthraya
ending mails check out http://www.djangoproject.com/documentation/email/ (this documentation needs to be updated...i would recommend you go through the code) Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[ANN] Django Check Constraints

2007-09-02 Thread Thejaswi Puthraya
nt" <> 0), CONSTRAINT "check_date" CHECK ("sale_start_date" between date '2007-01-01' AND date '2007-12-31'), CONSTRAINT "check_date_start" CHECK ("sale_start_date" <= sale_end_date) ) ; COMMIT; For more details you can

Re: How to install mysql-python

2007-08-19 Thread Thejaswi Puthraya
I believe it should work. Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from

Re: How to install mysql-python

2007-08-19 Thread Thejaswi Puthraya
managers (don't try this if you are on Fedora). I would recommend you install it from http://sourceforge.net/projects/mysql-python Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Ajax Form Submission Trouble

2007-08-19 Thread Thejaswi Puthraya
your template and not into your js file...it is recommended that you have an id for your submit button. Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: Ajax Form Submission Trouble

2007-08-18 Thread Thejaswi Puthraya
o I see no reason why it shouldn't work in IE7.0 Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@google

Re: Ajax Form Submission Trouble

2007-08-14 Thread Thejaswi Puthraya
ll, but it > doesn't work in IE7. Any suggestions or tips would be greatly > appreciated. Which Javascript library are you using??? Most javascript libraries handle the Ajax stuff as browser independent as possible (not always true though). Cheers Thejaswi Puthraya --~--~-~--~

Re: Tutorials

2007-08-14 Thread Thejaswi Puthraya
go Resources... http://code.djangoproject.com/wiki/DjangoResources It has everything you requirehave fun and hope you love Django. Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dj

Re: automatic form submission

2007-08-08 Thread Thejaswi Puthraya
> 1. check a specific checkbox in the search form > 2. submit the search form > 3. save in a file the html source of the webpage displaying the search > results Try ClientForm...it is an awesome library for this purpose. Check it out at http://wwwsearch.sourceforge.net/ Cheers Theja

Re: extending django.contrib.auth

2007-08-03 Thread Thejaswi Puthraya
See http://code.google.com/p/django-registration for more details. Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@

Re: adding contraints on admin

2007-07-27 Thread Thejaswi Puthraya
> I really love Django admin, however how can I add customer validation > or contraints to my models? I am coding for the GSoC Check constraints projecthere is a link to the project site. http://code.google.com/p/django-check-constraints/ Cheers Thejaswi Pu

Re: GSoC Update: [Check Constraints] New features and using it with Newforms.

2007-07-26 Thread Thejaswi Puthraya
name" like 'Merc%%'), > ... >); One more item in my todo list now. > 4) do the constraints get dropped properly when doing a DB purge > (using "manage.py sqlclear" or "manage.py sqlreset")? Yes they do get dropped cleanly. Thanks

GSoC Update: [Check Constraints] New features and using it with Newforms.

2007-07-26 Thread Thejaswi Puthraya
k_quantity" CHECK ("quantity_sold" >= 0), CONSTRAINT "check_price" CHECK ("car_price" between 1000 AND 1) ) ; Here is a way of using Newforms and Django Check Constraints http://thejuhyd.blogspot.com/2007/07/django-newforms-and-django-check...

Re: How to display all my post data

2007-07-23 Thread Thejaswi Puthraya
you use them. Cheers Thejaswi Puthraya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group,