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
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
--~--~--
;
> 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
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
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
;
> 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
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
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
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
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
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
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
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
> 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
> file_data = {'mugshot': {'filename':'face.jpg'
> ... 'content': }}
f = open("somefile.jpg","r")
image_data = f.read()
file_data = {'mugshot'
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
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
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
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
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
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
--~--~-~--~~~---~
[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
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
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
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
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
[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
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
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
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
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
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
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
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
--~--~-~--~
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
> 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
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@
> 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
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
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...
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,
41 matches
Mail list logo