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
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 --~--~-~--~~~---~--~~ You received this message because you are s

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 received this messa

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

2008-09-08 Thread Thejaswi Puthraya
s' and keyword " --> 241 "arguments '%s' not found." % (lookup_view, args, kwargs)) 242 243 def resolve(path, urlconf=None): NoReverseMatch: Reverse for '' with arguments '()' and keyword arguments '{}' not found. In [3]: So does it mean the admin does

Re: Comments customization

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

Re: what's wrong with my django comments?

2008-09-03 Thread Thejaswi Puthraya
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 to the Google Grou

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

Re: IRC Channel

2007-11-27 Thread Thejaswi Puthraya
> 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 you are subscri

Re: Partial Validation in newforms

2007-11-27 Thread Thejaswi Puthraya
n? Does 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 http:

Re: Problem subclassing forms

2007-11-27 Thread Thejaswi Puthraya
he 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 received this message be

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

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 Thejaswi Pu

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': {'filename': 'face.jpg', 'content': image_data}}

Re: Unable to Login To Admin Interface

2007-11-02 Thread Thejaswi Puthraya
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 subscr

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 Theja

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 supported. Che

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

Re: Handling DB connect error.

2007-10-02 Thread Thejaswi Puthraya
re 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 this message because y

Re: default locations for css and js files

2007-10-02 Thread Thejaswi Puthraya
e. 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 post to this group

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
tation 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 "Django u

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 s

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

2007-09-02 Thread Thejaswi Puthraya
eck 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 Groups "Dj

[ANN] Django Check Constraints

2007-09-02 Thread Thejaswi Puthraya
uot; 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 check http://code.google.com/p/django-check-constraints/ On how to use it

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
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 "Django us

Re: Ajax Form Submission Trouble

2007-08-19 Thread Thejaswi Puthraya
our 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 post to this group

Re: Ajax Form Submission Trouble

2007-08-19 Thread Thejaswi Puthraya
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@googlegroups.com To unsubscribe from this grou

Re: Ajax Form Submission Trouble

2007-08-14 Thread Thejaswi Puthraya
> 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-use

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
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 for the feedback. Cheers Thejaswi Puthraya --~--~-~--~

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

2007-07-26 Thread Thejaswi Puthraya
) ) ; Here is a way of using Newforms and Django Check Constraints http://thejuhyd.blogspot.com/2007/07/django-newforms-and-django-check... This week I will work on adding support for the datetime field and decide on whether to support the upper and lower functions. Cheers Thejaswi Pu

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 grou