Re: About Thumbnails

2010-10-21 Thread Kenneth Gonsalves
On Thu, 2010-10-21 at 14:11 +0300, Ekin Yalgın wrote: > I assumed that iimage filed is named thumb. Must it be 'photo' > certainly? you can name it anything you want - what is the name you have given it in the model? -- regards Kenneth Gonsalves Senior Associate NRC-FOSS at

Re: About Thumbnails

2010-10-21 Thread Kenneth Gonsalves
On Thu, 2010-10-21 at 14:24 +0300, Ekin Yalgın wrote: > Sorry it is thumb = ImageField ... then what you have done is correct -- regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Django users&qu

Re: About Thumbnails

2010-10-21 Thread Kenneth Gonsalves
problems. Does the image appear when try to display it without thumbnails? -- regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us

Re: About Thumbnails

2010-10-21 Thread Kenneth Gonsalves
ant. Thanks again. is the thumbnail working? or not? -- regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.co

Re: moving from Postgres to MySQL

2010-10-22 Thread Kenneth Gonsalves
res not have anything analogous? > > Sure, pg_dumpall. Now, what're the chances of the SQL that spits out > being parsed correctly by MySQL without complaint? ;-) practically zero -- regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you

Re: What does an ideal django workflow setup look like?

2010-10-22 Thread Kenneth Gonsalves
eate a default.settings.py which has the sensitive information removed. That is kept under version control. -- regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: What does an ideal django workflow setup look like?

2010-10-24 Thread Kenneth Gonsalves
On Sat, 2010-10-23 at 08:41 -0700, shacker wrote: > On Oct 22, 10:09 pm, Kenneth Gonsalves wrote: > > > 5. Note: settings.py is not put under version control as this holds > > sensitive information and paths differ according to the server it is > on. > > I create a de

Re: How to display image in django template

2010-10-25 Thread Kenneth Gonsalves
_to="images/") get an instance: myob = Mymodel.objects.get(pk=1) in your template: -- regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: What does an ideal django workflow setup look like?

2010-10-25 Thread Kenneth Gonsalves
On Mon, 2010-10-25 at 16:06 -0400, Brian Bouterse wrote: > I really can't encourage the use of Hudson <http://hudson-ci.org/> (or > something like it). 'cant encourage'? or 'can encourage'? -- regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC

Re: Multiple Django/Python developer Positions- Atlanta, GA

2010-10-29 Thread Kenneth Gonsalves
On Fri, 2010-10-29 at 07:18 -0700, Jack wrote: > only US Citizens or Greencard holders need apply please do not put things like this on an international list -- regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Goo

Re: Multiple Django/Python developer Positions- Atlanta, GA

2010-10-31 Thread Kenneth Gonsalves
On Fri, 2010-10-29 at 22:32 +0530, Venkatraman S wrote: > On Fri, Oct 29, 2010 at 10:27 PM, Kenneth Gonsalves > wrote: > > > On Fri, 2010-10-29 at 07:18 -0700, Jack wrote: > > > only US Citizens or Greencard holders need apply > > > > please do not put thing

Re: 2D map application: performance and design question

2010-11-02 Thread Kenneth Gonsalves
rite webserver -- regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email t

Re: Forking a background process on request

2010-11-04 Thread Kenneth Gonsalves
separate process? What sort of concurrency issues do I need to worry > about? would django-celery be too heavyweight for this? -- regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Django Environment Settings

2010-11-04 Thread Kenneth Gonsalves
On Thu, 2010-11-04 at 06:18 -0700, octopusgrabbus wrote: > What is the best way to set the Django command line environment for > testing in the python interpreter? 'python manage.py shell' -- regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this

Re: getting a variable in a templatetag

2010-11-10 Thread Kenneth Gonsalves
On Wed, 2010-11-10 at 03:21 -0800, Daniel Roseman wrote: > On Nov 10, 11:19 am, Kenneth Gonsalves wrote: > > hi, > > > > using trunk. I have line in template like this: > > > > {% get_current_language as LANGUAGE_CODE %} > > I want to pass the cur

getting a variable in a templatetag

2010-11-10 Thread Kenneth Gonsalves
lang), but it is not working. I am not getting the language code, rather I am getting the string 'LANGUAGE_CODE'. Any clues? -- regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Django user

Re: getting a variable in a templatetag

2010-11-10 Thread Kenneth Gonsalves
On Nov 10, 4:48 pm, Tom Evans wrote: >     user = self.user.resolve(context) yes - I did not put this line (was inheriting from legacy code where there was something called resolve_variable which I think did this in one step. (note to self, however trivial the question may be *always* post the c

Re: Django mod_python under apache

2010-11-12 Thread Kenneth Gonsalves
On Fri, 2010-11-12 at 12:29 -0800, vivek_12315 wrote: > I have configured Django with mod_python under apache web server. > > do not do this - mod_python is dead and is now officially deprecated by django. Use mod_wsgi instead. -- regards Kenneth Gonsalves Senior Associate NRC-FOSS

Re: CMS for django

2010-11-14 Thread Kenneth Gonsalves
g a CMS with django. I am - but it is focussed on multilingual sites - if you are not looking at multilingual, mine is of no use. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

Re: Where is everything on ubuntu 10.10

2010-11-18 Thread Kenneth Gonsalves
On Thu, 2010-11-18 at 06:10 -0800, sheeptick wrote: > The site-packages directory is empty, so where did django go? ubuntu guys have something called dist-packages -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django user

Re: Django Tutorial - http://docs.djangoproject.com/en/dev/intro/tutorial01/

2010-11-19 Thread Kenneth Gonsalves
On Fri, 2010-11-19 at 12:44 -0800, hank23 wrote: > 'DateFimeField' typo -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. T

Re: Conf/locale

2010-11-21 Thread Kenneth Gonsalves
which if activated will help you to set any language you want as long as you add the language in settings.py. (The idea of opening 35 varieties of browser to view all Indian languages ...). Further if you *must* use different browsers, you can set up different profiles for firefox. -- regar

Re: Not main content on site - how to?

2010-11-21 Thread Kenneth Gonsalves
nd the most rated. How to plan that. Which Django structures > should I use? one way is templatetags -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@go

Re: django ticket tracking

2010-11-25 Thread Kenneth Gonsalves
m since then -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@goog

Re: Django admin photo upload

2010-11-29 Thread Kenneth Gonsalves
On Mon, 2010-11-29 at 15:24 +0530, Venkatraman S wrote: > Have a look at django-photologue. is it still maintained? -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Django admin photo upload

2010-11-29 Thread Kenneth Gonsalves
he PhotoTest instance and > finally, save > it. why not use easy_thumbnail instead? it is an excellent library with no dependencies and very simple installation. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Dja

Re: Django admin photo upload

2010-11-29 Thread Kenneth Gonsalves
hich is retired after doing yeoman service for several years. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from th

Re: django to php

2010-11-30 Thread Kenneth Gonsalves
would you want to do that? well, if you are in a location where there is no one to maintain your Porsche and has a surfeit of ox cart drivers ... -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: django to php

2010-11-30 Thread Kenneth Gonsalves
at you will get an answer on this list. The best thing would be to rewrite the app afresh in php. (or change the urls into php sounding urls so the suit does not know what you are doing) -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups &

Re: Django, Python, AJAX position

2010-12-01 Thread Kenneth Gonsalves
eople keep replying to it, please > stop* :/ and just to add to the confusion, the client has now posted the same ad ;-) -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send emai

Re: Django Graphics

2010-12-02 Thread Kenneth Gonsalves
On Thu, 2010-12-02 at 00:14 -0800, Jagdeep Singh Malhi wrote: > Can we handle graphics in Django? yes -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Django Graphics

2010-12-02 Thread Kenneth Gonsalves
> Making sketches / figures. django is nothing but python, html, css, js etc - do your graphics exactly as you would do it in normal html, python, css, js etc. Either generate them in the backend with python or use some js toolkit to do it on the client side. -- regards Kenneth Gonsalves -- You

Re: redirect after login

2010-12-07 Thread Kenneth Gonsalves
On Tue, 2010-12-07 at 02:31 -0800, vamsy krishna wrote: > redirect_to = request.REQUEST.get('next') how about redirect_to = request.GET? -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To p

Re: File upload fail on live server

2010-12-09 Thread Kenneth Gonsalves
On Thu, 2010-12-09 at 10:20 +0200, Sithembewena Lloyd Dube wrote: > However, my live application fails to upload the file (ie the > FileField is > empty in the database after uploading, and the file is not uploaded). path problem or permission problem -- regards Kenneth Gonsalves

Re: File upload fail on live server

2010-12-09 Thread Kenneth Gonsalves
On Thu, 2010-12-09 at 15:11 +0530, Kenneth Gonsalves wrote: > On Thu, 2010-12-09 at 10:20 +0200, Sithembewena Lloyd Dube wrote: > > However, my live application fails to upload the file (ie the > > FileField is > > empty in the database after uploading, and the file is not &g

Re: File upload fail on live server

2010-12-09 Thread Kenneth Gonsalves
On Thu, 2010-12-09 at 12:47 +0200, Sithembewena Lloyd Dube wrote: > Is it proper/ feasible to save media to and serve it from, a media > folder > outside of the project? it is proper - as this will not come under version control whereas the project will -- regards Kenneth Gonsalves

Re: File upload fail on live server

2010-12-09 Thread Kenneth Gonsalves
On Thu, 2010-12-09 at 13:42 +0200, Sithembewena Lloyd Dube wrote: > Thanks Kenneth, am trying to figure out how to set the MEDIA_ROOT to > the > folder outside the project. /home/lloyd/smedia/ and make it writable by the webserver -- regards Kenneth Gonsalves -- You received thi

Re: File upload fail on live server

2010-12-09 Thread Kenneth Gonsalves
do one thing - make the file required and not optional, then django will barf and tell you where you have gone wrong -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send ema

Re: Django Team Project Best Practices

2010-12-09 Thread Kenneth Gonsalves
is doing - or how would the project run?? Maybe in a huge project on something ultra secret, the other approach would be feasible. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

problem writing a unittest

2010-12-09 Thread Kenneth Gonsalves
def testaddit(self): self.assertEqual(self.tnum.addit(),"3") and the error is: Traceback (most recent call last): File "/home/lawgon/addition/../addition/addnums/tests.py", line 18, in testaddit self.assertEqual(self.tnum.addit(),"3") AttributeError: &#x

Re: problem writing a unittest

2010-12-10 Thread Kenneth Gonsalves
opy-paste -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegrou

Re: Newbie question: many-to-many model creation

2010-12-10 Thread Kenneth Gonsalves
ship? please give some details of your models -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, se

Re: AdminSite and Enterprise applications

2009-12-25 Thread Kenneth Gonsalves
d you simply go for the usual views.* functionality? > it is an accepted truth that admin is only for trusted users actually administrating the project - for every one else, they should be handled outside admin. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfoss

strange behaviour of webfaction

2010-01-07 Thread Kenneth Gonsalves
Has anyone else experienced these problems - first time I have seen such a casual answer from webfaction! -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Django users&quo

Re: strange behaviour of webfaction

2010-01-07 Thread Kenneth Gonsalves
d everything was fine. No more monday morning mails about memory usage. It is possible that the 'upstream proxy server' that nginx mentions in the 'bad gateway' message is my apache instance. But so far have not been able to check out whether it is down, because by the time I get

order for csrf middleware

2010-01-07 Thread Kenneth Gonsalves
time) -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from

Re: Error in importing user in the interactive console

2010-01-07 Thread Kenneth Gonsalves
On Friday 08 Jan 2010 11:10:12 am sridharpandu wrote: > from django.ontrib.auth.models import user > s/ontrib/contrib/ and User -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the

Re: strange behaviour of webfaction

2010-01-08 Thread Kenneth Gonsalves
gether and go "oh, apache takes some time to restart... ah... oh.", so > when you restart it every 20 minutes, there's the stop and startup time > of apache where you make well have downtime. That's every 20 minutes. > maybe downtime for a few seconds - not for a f

Re: strange behaviour of webfaction

2010-01-08 Thread Kenneth Gonsalves
On Saturday 09 Jan 2010 5:15:35 am Kenneth Gonsalves wrote: > > together and go "oh, apache takes some time to restart... ah... oh.", so > > when you restart it every 20 minutes, there's the stop and startup time > > of apache where you make well have

Re: ANN: LFC - a CMS

2010-01-18 Thread Kenneth Gonsalves
I had been doing! Of course much better. Some points that I had thought about are missing - I will try to find the time to add/suggest these. Keep up the good work. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because y

Re: Looking for Lead Django Developer in LA please call 310 571 JOBS

2010-01-24 Thread Kenneth Gonsalves
On Monday 25 Jan 2010 10:50:27 am Sam Walters wrote: > Is it just me or is asking for 5+ years for django unlikely. > Adrianh and a few others have 5+ years of django - but most of the other lead devels are well under 5 -- regards Kenneth Gonsalves Senior Project Officer NRC-FOS

getting the object with max value

2010-01-24 Thread Kenneth Gonsalves
dentify the instance where the handicap is at Max value. Is there a simpler way of doing this? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: getting the object with max value

2010-01-25 Thread Kenneth Gonsalves
else: return 0 which is two queries. But anyway your references show that it cannot be done in one query. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "

Re: Reasons why syncdb ignores an application?

2010-01-27 Thread Kenneth Gonsalves
On Thursday 28 Jan 2010 3:10:32 am phoebebright wrote: > What is going on?! > in shell try from yourapp.web.views import * -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google

filtering out entries that are already made

2010-01-27 Thread Kenneth Gonsalves
entered players. a query like: Player.objects.exclude(all players in matchentry.player_set.all()) -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Django users"

Re: filtering out entries that are already made

2010-01-27 Thread Kenneth Gonsalves
On Thursday 28 Jan 2010 12:47:39 pm Kenneth Gonsalves wrote: > I have a model called Matchentry which has foreign keys to the Match model > and the Player model. When making a new Matchentry, obviously the choices > have to be limited to the players who have not already been entered.

programming error - looking for an integer and finding a dict

2010-01-28 Thread Kenneth Gonsalves
"/usr/lib/python2.6/django/db/backends/util.py" in execute 19. return self.cursor.execute(sql, params) File "/usr/lib/python2.6/django/db/backends/postgresql/base.py" in execute 53. return self.cursor.execute(smart_str(sql, self.charset), self.format

Re: programming error - looking for an integer and finding a dict

2010-01-28 Thread Kenneth Gonsalves
On Friday 29 Jan 2010 8:36:06 am Kenneth Gonsalves wrote: > I have a model called Matchentry. It is this: > > class Matchentry(models.Model): > tournament = models.ForeignKey(Tournament,verbose_name=_("Tournament")) > player = models.ForeignKey(Play

Re: read only django admin

2010-01-28 Thread Kenneth Gonsalves
not trust to mess up the data. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.c

Re: svn checkout problems? (at around 2:50 pm GMT, 2010-01-29)

2010-01-29 Thread Kenneth Gonsalves
se facing similar issues with checkout? > this problem usually occurs when your internet connection is bad -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Django user

filtering query on a function

2010-02-01 Thread Kenneth Gonsalves
course this doesnt work - any clue how to do this? or do I fall back on raw sql? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: filtering query on a function

2010-02-01 Thread Kenneth Gonsalves
ango allows functions to be used on the left hand side of filters. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: filtering query on a function

2010-02-01 Thread Kenneth Gonsalves
On Monday 01 Feb 2010 4:03:26 pm James Bennett wrote: > On Mon, Feb 1, 2010 at 3:59 AM, Kenneth Gonsalves wrote: > > Anyway, player.getcoursehandicap() works - but not within 'filter' > > Why would you expect it to? Python method definitions are not legal > SQL, so yo

Re: filtering query on a function

2010-02-01 Thread Kenneth Gonsalves
t on save. Then > you can order on that value in the usual way. > that is the last resort. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: filtering query on a function

2010-02-01 Thread Kenneth Gonsalves
e it differs according to the course on which he is playing. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send emai

on latest svn am getting a type error TypeError: argument 1 must be str, not unicode

2010-02-02 Thread Kenneth Gonsalves
quot;, line 19, in execute return self.cursor.execute(sql, params) File "/home/dtc/dtcproject/env/lib/python2.5/site-packages/django/db/backends/postgresql/base.py", line 57, in execute return self.cursor.execute(sql, params) TypeError: argument 1 must be str, not unicode --

Re: on latest svn am getting a type error TypeError: argument 1 must be str, not unicode

2010-02-02 Thread Kenneth Gonsalves
On Tuesday 02 Feb 2010 4:04:15 pm Kenneth Gonsalves wrote: > on upgrading to the latest svn I am getting a sporadic error like this: > TypeError: argument 1 must be str, not unicode. On runserver, the full > traceback is this: > I went back to 12300 - same problem, but 12200 is ok.

Re: on latest svn am getting a type error TypeError: argument 1 must be str, not unicode

2010-02-02 Thread Kenneth Gonsalves
and 12200 if you do a > bisection search. > will do it - had to get back into production so could not do it yesterday, and the errors all seem to do with postgresql, but will get back with specific errors some time today. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS ht

Re: on latest svn am getting a type error TypeError: argument 1 must be str, not unicode

2010-02-02 Thread Kenneth Gonsalves
lib/python2.6/django/db/models/sql/compiler.py" in execute_sql 740. cursor.execute(sql, params) File "/usr/lib/python2.6/django/db/backends/util.py" in execute 19. return self.cursor.execute(sql, params) File "/usr/lib/python2.6/django/db/backends/postgresql/base

Re: on latest svn am getting a type error TypeError: argument 1 must be str, not unicode

2010-02-02 Thread Kenneth Gonsalves
On Wednesday 03 Feb 2010 9:33:34 am Kenneth Gonsalves wrote: > > * The input that is causing things to break. "Sporadic error" and a > > stack trace doesn't really help us identify a problem. The problem > > isn't sporadic for the case that is causing it to

Re: on latest svn am getting a type error TypeError: argument 1 must be str, not unicode

2010-02-02 Thread Kenneth Gonsalves
/python2.6/django/db/backends/postgresql/base.py" in execute 57. return self.cursor.execute(sql, params) Exception Type: DatabaseError at /admin/ Exception Value: ERROR: syntax error at or near "11" LINE 1: ... AND "django_session"."expire_date" > 201

Re: on latest svn am getting a type error TypeError: argument 1 must be str, not unicode

2010-02-02 Thread Kenneth Gonsalves
quot; in insert_query 1428. return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.6/django/db/models/sql/compiler.py" in execute_sql 796. cursor = super(SQLInsertCompiler, self).execute_sql(None) File "/usr/lib/python2.6/django/db/model

Re: on latest svn am getting a type error TypeError: argument 1 must be str, not unicode

2010-02-02 Thread Kenneth Gonsalves
On Wednesday 03 Feb 2010 1:02:34 pm Russell Keith-Magee wrote: > On Wed, Feb 3, 2010 at 2:41 PM, Kenneth Gonsalves wrote: > > On Wednesday 03 Feb 2010 11:44:36 am Russell Keith-Magee wrote: > >> Ok - seriously - if you want help debugging this, you need to get your &

[ANN] djangogolf

2010-02-04 Thread Kenneth Gonsalves
Hi, I just released djangogolf - software for managing golf tournaments. The scoring module is ready, handicapping and draw are in the pipeline. The demo site is here: http://greenchilly.in/ - feedback, feature requests and contributions are welcome. -- regards Kenneth Gonsalves Senior

Re: djangogolf

2010-02-05 Thread Kenneth Gonsalves
On Friday 05 Feb 2010 7:23:02 pm scoobygalletas wrote: > Hi! > > http://greenchilly.in/ throws: > > 502 Bad Gateway > nginx/0.6.32 > yes fixed -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message becau

Re: Django or CMS.

2010-02-05 Thread Kenneth Gonsalves
you to Plone - as long as you do not want extensive customisation, plone fits your requirements out of the box. I left Plone as I found it is not suitable for non CMS use - as a CMS it has no peer. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ --

'ValidationError' object has no attribute 'message_dict'

2010-02-08 Thread Kenneth Gonsalves
File "/usr/lib/python2.6/django/forms/models.py" in _clean_form 320. self._update_errors(e.message_dict) Exception Type: AttributeError at /addhandicap/ Exception Value: 'ValidationError' object has no attribute 'message_dict' -- regards Kenneth Gonsalve

Re: 'ValidationError' object has no attribute 'message_dict'

2010-02-08 Thread Kenneth Gonsalves
/code.djangoproject.com/ticket/12698 ? > > Looks like that bug to me. > so it means sticking to form validation for the time being? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the

Re: What hosting companies do you use for django hosting?

2010-02-09 Thread Kenneth Gonsalves
On Wednesday 10 Feb 2010 1:42:32 am rebus_ wrote: > http://www.hetzner.de/en/hosting/produktmatrix/rootserver-produktmatrix/ > +1 -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the

Re: 'ValidationError' object has no attribute 'message_dict'

2010-02-09 Thread Kenneth Gonsalves
nded below. > > Am I doing something wrong or is it bug no > > http://code.djangoproject.com/ticket/12698? > > Fixed in http://code.djangoproject.com/changeset/12402 > thanks - works now -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline

Re: 'ValidationError' object has no attribute 'message_dict'

2010-02-09 Thread Kenneth Gonsalves
; test suite would probably be helpful. > I wish I could - I am trying to learn about how to do this, so maybe soon I can actually contribute to django. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are sub

model validation fails if a field is excluded in the modelform

2010-02-09 Thread Kenneth Gonsalves
_form() File "/usr/lib/python2.6/django/forms/models.py" in _clean_form 318. self.instance.clean() File "/home/lawgon/djangogolf/../djangogolf/web/models.py" in clean 163. for hand in self.player.handicap_set.all(): File "/usr/lib/python2.6/django/db/

Re: Is any thing for python like .jar files for java.

2010-02-09 Thread Kenneth Gonsalves
me python forum. And anyway why should you want a jar file (maybe as some one remarked, you need to look at eggs) -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Django us

Re: about sending email

2010-02-17 Thread Kenneth Gonsalves
do not have a mail server running -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googleg

Re: admin calender not showing for datefields

2010-02-18 Thread Kenneth Gonsalves
On Friday 19 Feb 2010 2:01:50 am mendes.rich...@gmail.com wrote: > Does anyone know a solution for this or help me in the right > direction. > look in the apache access logs (not error logs) for a 404 on the calendar - probably a path problem -- regards Kenneth Gonsalves Senior Asso

Re: Django in the enterprise?

2010-02-24 Thread Kenneth Gonsalves
kind of viewed as THE > enterprise framework and I think that’s unfortunate. > there is a very interesting thread on this topic in the developers mailing list where Jacob has described his discussions with a fortune 500 company. please check it out. -- regards Kenneth Gonsalves Sen

Re: Banned from the #django irc channel

2010-02-27 Thread Kenneth Gonsalves
nnel, but since he is not authenticated, he cannot speak on the channel. That's all. It is a non-issue. -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received this message because you are subscribed to the Google Groups "

Re: Creating a mailing list app with Django

2010-03-01 Thread Kenneth Gonsalves
'bulkmail' -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsu

Re: Serving https with runserver

2010-03-01 Thread Kenneth Gonsalves
your cake and eat it too. -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com

editing a ModelForm with extra fields

2010-03-03 Thread Kenneth Gonsalves
? -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this g

Re: django vs tornado

2010-03-03 Thread Kenneth Gonsalves
ed as http://mysite.com/go%20here/ which confuses the database 2. tornado goes haywire when confronted with {% csrf_token %}, giving unpredictable errors. I have stopped using it and till I can get something else up am using nginx proxied to runserver - which is faster than tornado and handles th

Re: django vs tornado

2010-03-03 Thread Kenneth Gonsalves
needing to restart anything on code changes. Of course I intend to change this, but have some deadlines to meet first. -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received this message because you are subscribed to the Google Groups &

Re: django vs tornado

2010-03-08 Thread Kenneth Gonsalves
back. I cannot explain more than say that I got randomn errors with the csrf_token stuff. Both in admin and outside admin, it would work at times and not work at times. And each time with a different csrf_token error. If I have time today, I will try again and report back. --

Re: django & wsgi: what is the preferred webserver?

2010-03-08 Thread Kenneth Gonsalves
On Monday 08 Mar 2010 1:26:12 pm Rolando Espinoza La Fuente wrote: > Somebody else thinks that django on tornado could be a winning combination? > I used to - but have you tried it with the csrf_token? my server broke on that and I stopped using tornado. -- regards Kenneth Gonsalves

Re: django vs tornado

2010-03-08 Thread Kenneth Gonsalves
On Monday 08 Mar 2010 3:09:51 pm Kenneth Gonsalves wrote: > > I'm testing django on tornado and didn't find any issue using the > > admin interface > > which uses csrf_token. I'm using latest django from svn and latest > > tornado from git. > > > &

Re: Django registration not showing logged in on all pages

2010-03-08 Thread Kenneth Gonsalves
xt and do you have the appropriate TEMPLATE_CONTEXT_PROCESSORS loaded in settings.py? -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Django registration not showing logged in on all pages

2010-03-08 Thread Kenneth Gonsalves
y great info on that please let me know. Thanks!! > http://docs.djangoproject.com/en/dev/ref/templates/api/#id1 -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received this message because you are subscribed to the Google Groups "

Re: How do I rename a FileField() that's attached to a model?

2010-03-13 Thread Kenneth Gonsalves
model instance with the new name and save it. -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-u

Re: Many to Many...so many queries

2010-03-16 Thread Kenneth Gonsalves
e ORM? > look at 'get_values' and 'flat' -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

Re: What validation tests are applied to ImageField?

2010-03-16 Thread Kenneth Gonsalves
On Wednesday 17 Mar 2010 11:21:45 am john2095 wrote: > Maybe I should post this on the developers list? Would that upset > them? > most of them read this list -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received this messag

<    1   2   3   4   5   6   7   8   9   10   >