error saving in admin after migrating a .90 site to postgresql8.3.x

2009-05-11 Thread Kenneth Gonsalves
hi, I know .90 is not supported, but if any old hand could help me out I will be grateful. I migrated an old .90 site to postgres8.3, python2.5. No problems, it worked. Only in one model I am unable to save or modify in admin. The model is: class Match(meta.Model): name = meta.CharField('

Re: error saving in admin after migrating a .90 site to postgresql8.3.x

2009-05-11 Thread Kenneth Gonsalves
On Monday 11 May 2009 20:09:03 Karen Tracey wrote: > This was a PostgreSQL change  with 8.3 that required modifying Django code > to account for the new behavior.  See: > > http://code.djangoproject.com/ticket/6523 yes - this is it. I 'solved' the problem by removing the unique_together constrai

Re: How do I migrate

2009-05-18 Thread Kenneth Gonsalves
On Monday 18 May 2009 15:54:13 madhan...@gmail.com wrote: > 1. Do we need to install and configure Django form scratch inorder to > make the system workable? yes. > 2. Is it not possible to make it work just by move the files and DB. no check the django documentation for details. Oh, and, if y

Re: Installing django

2009-05-20 Thread Kenneth Gonsalves
On Thursday 21 May 2009 11:15:29 LeonTheCleaner wrote: > @sdc, yeah I plan to try webfaction. The only thing is I just quickly > checked out their demo video to setup django and itès 21 mins. I am > blown away to see how complicated just setting this up, and I am an > experienced windows programme

Re: Installing django

2009-05-20 Thread Kenneth Gonsalves
On Thursday 21 May 2009 11:46:54 LeonTheCleaner wrote: > You mean for dreamhost? Yeah I was following those. It is just that > when people mentioned webfaction is easier I wanted mention their 21 > min video which is still lots of work. I meant for webfaction - I use webfaction, but do not use th

Re: Installing django

2009-05-20 Thread Kenneth Gonsalves
On Thursday 21 May 2009 12:09:05 LeonTheCleaner wrote: > I did not know that. Can you tell me how to do that? Is there a link > that shows the procedure? just follow the django install docs for apache/mod_python. There is an apache config file in webfaction where you can make changes > > I use s

Re: Pre-designed tempates for non-designers

2009-05-23 Thread Kenneth Gonsalves
On Saturday 23 May 2009 15:54:11 wierob83 wrote: > Are there any existing templates/stylesheets that I can build up on? this may be of interest to you: http://www.blueprintcss.org/ one of the original authors was/is? one of the designers of django's CSS and templates. -- regards kg http://law

forms saving files in trunk

2009-05-26 Thread Kenneth Gonsalves
hi, I upgraded an app to the latest trunk. In one model I have a filefield called 'slides'. I have a Form for that model and in the view I have this code: if request.FILES: newtalk.save_slides_file(request.FILES['slides']['filename'], req

Re: forms saving files in trunk

2009-05-26 Thread Kenneth Gonsalves
On Tuesday 26 May 2009 18:04:16 Karen Tracey wrote: > > I upgraded an app to the latest trunk. > > Please, whenever posting something like that, indicate from what you > upgraded.  At least approximately.  Makes it far easier for responders to > start looking in approximately the right place for w

Re: Quick newbie question

2009-05-26 Thread Kenneth Gonsalves
On Wednesday 27 May 2009 04:22:12 Itai wrote: > As I was working my way through the tutorial (part 3), I ran into a > little problem. > > When creating the HTML file with style descriptions (, ..), > the page doesn't render the styles but rather the actual code, i.e: > What's up? > > > > instead

how to detect if there is no image in the model?

2009-05-27 Thread Kenneth Gonsalves
hi, [version: django svn trunk] I have a model with imagefield named 'photo'. I want to display the image if it exists. My template code is: {% if p.photo.url %} but I get this error: "Caught an exception while rendering: The 'photo' attribute has no file associated with it" obvio

Re: how to detect if there is no image in the model?

2009-05-27 Thread Kenneth Gonsalves
On Thursday 28 May 2009 06:52:34 Kenneth Gonsalves wrote: > [version: django svn trunk] > I have a model with imagefield named 'photo'. I want to display the image > if it exists. My template code is: > > {% if p.photo.url %} > I am a moron - it should be:

Re: How to modify and object before saving it in ModelForm [was] Newbie needs help

2009-05-30 Thread Kenneth Gonsalves
On Saturday 30 May 2009 12:47:27 Andy wrote: > I would like to set the order_number in my model to be equal to the > automatically assigned ID plus 10,000.  Can anybody tell me how to > achieve this? check out commit=False in this document: http://docs.djangoproject.com/en/dev/topics/forms/modelf

problem with virtualenv django versions and postgresql

2009-05-30 Thread Kenneth Gonsalves
hi, this problem may not be django related at all, but maybe someone here could tell me how to debug it. I have a VPS on Gandi with several .90 django sites and some running on latest trunk. I had set up virtualenv to run the sites on trunk. The sites on trunk run perfectly. The .90 sites als

Re: problem with virtualenv django versions and postgresql

2009-05-30 Thread Kenneth Gonsalves
On Saturday 30 May 2009 17:23:01 Kenneth Gonsalves wrote: > this problem may not be django related at all, but maybe someone here could > tell me how to debug it. > > I have a VPS on Gandi with several .90 django sites and some running on > latest trunk. I had set up virtualenv t

Re: Do you use a skeleton for new django sites?

2009-06-02 Thread Kenneth Gonsalves
On Tuesday 02 June 2009 22:09:03 Aaron Maxwell wrote: > Over time, I'll discover something new I'll want to add to all my django > sites.  So I just make that change to django-skel and forget about it. > > Does anyone else follow this technique? yes - I have only used the startproject startapp th

Re: The best hoster to install Django

2009-06-06 Thread Kenneth Gonsalves
On Sunday 07 June 2009 05:14:20 Bro wrote: > I ask a question : What is the best hoster to install Django ? http://djangofriendly.com/hosts/ < study them all and remember that you have to choose the best for your proposed application: small - a shared hosting like webfaction medium - a VP

Re: The best hoster to install Django

2009-06-07 Thread Kenneth Gonsalves
On Sunday 07 June 2009 14:53:17 K.Berkhout wrote: > Depends on what your location and the location of your (future) users > is. > Are you based in Europe or the USA? or in Asia, Africa, Australia, Antartica ... -- regards kg http://lawgon.livejournal.com --~--~-~--~~~---

Re: Install PIL on a shared hosting

2009-06-07 Thread Kenneth Gonsalves
On Sunday 07 June 2009 17:22:26 simonecare...@gmail.com wrote: > I've noticed PIL is not installed on my shared hosting. > > I tried to install it through setup.py but I got a permission error. > > Has someone ever installed it on a shared hosting plan? which shared hosting plan? If you are on a

changing site url

2009-06-07 Thread Kenneth Gonsalves
hi, I have an app which is being used to conduct an annual event. The app lives in the 'web' directory of the project and is named 'web'. I serve the app from root - that is, home is at: http://mysite.com/home/ http://mysite.com/web/home/ also works I now need to serve this from: http://mysi

Re: What is available IN Django compared to other frameworks?

2009-06-08 Thread Kenneth Gonsalves
On Monday 08 June 2009 21:07:57 Necmettin Begiter wrote: > Your best bet would be using a CMS like Joomla, because, don't get me > wrong, but if you do not know the difference between a web application > and a web framework, you better stick to already-mature web > applications (since you are obvi

Re: Problem during deployment

2009-06-10 Thread Kenneth Gonsalves
On Wednesday 10 June 2009 13:10:00 Шигапов Ринат wrote: > Here is my part of apache2 conf for mod_python: > >         SetHandler python-program >         PythonHandler django.core.handlers.modpython >         SetEnv DJANGO_SETTINGS_MODULE settings >         PythonDebug On >         PythonPath "['

problem with password reset

2009-06-10 Thread Kenneth Gonsalves
hi, [django trunk rev 10413] I am having a problem with password_reset. I get the message saying that a mail has been sent, but I do not receive the mail. A check with my mail log shows the mail is being sent from 'webmas...@localhost' and being rejected as that is an unknown username to my m

Re: problem with password reset

2009-06-10 Thread Kenneth Gonsalves
On Wednesday 10 June 2009 18:00:29 Daniel Roseman wrote: > > this shows the 'from' user as 'None', so where is it picking up the > > 'webmas...@localhost' from? Is this a bug (unlikely) or am I missing > > something? > > -- > > regards > > kghttp://lawgon.livejournal.com > > Have you tried setting

Re: Open Sourcing a Website [dangerous?]

2009-06-11 Thread Kenneth Gonsalves
On Thursday 11 June 2009 15:41:59 Shadow wrote: > I'm about to launch a non-profit django website, and was thinking I > might as well open source the code as well. > > I noticed this has been done with djangoproject.com, but was thinking > how potentially dangerous it is, that any flaws are open t

Re: Open Sourcing a Website [dangerous?]

2009-06-11 Thread Kenneth Gonsalves
On Thursday 11 June 2009 22:27:11 Shadow wrote: > Thanks for the info, very helpful. > > You've convinced me, now I just need to convince the higher > authorities I have had a fair amount of success in convincing non-profits to open source the code of their webapps. Among points you can make:

Re: Reason for not allowing spaces in usernames?

2009-06-11 Thread Kenneth Gonsalves
On Friday 12 June 2009 12:10:51 Joshua Partogi wrote: > On Jun 12, 1:26 pm, Wiiboy wrote: > > Why does Django not allow spaces in user's usernames?  On my site, a > > user's username is the first and last name combined (the equivalent of > > user.get_full_name()). > > I guess it's just for simpli

Re: Is the lack of composite key support a detriment to django?

2009-06-12 Thread Kenneth Gonsalves
On Friday 12 June 2009 11:31:43 Daniel Koepke wrote: > I am a new django user, and so far, am loving the experience. I am still > fairly new to web development as well, and was hoping someone might have > the time to comment on an issue I have with django: the lack of composite > key support. uni

Re: Weird URL problem

2009-06-12 Thread Kenneth Gonsalves
On Friday 12 June 2009 18:35:33 Lars Stavholm wrote: > > Notice the Request URL, there's a slash missing, > > something along the way removed the slash. > > > > If I try http://mbf//jobs, I end up at the right place. > > > > Can anyone tell me what it is that is removing that slash? > > Found the

Re: Weird URL problem

2009-06-12 Thread Kenneth Gonsalves
On Saturday 13 June 2009 05:37:56 Kenneth Gonsalves wrote: > > Commenting out that line solved the problem. We're using > > a VirtualHost definition, so it seems django.root should > > not be set for a VirtualHost. > > I always set it for VirtualHost - AFAIK the docs

Re: unsubscribe

2009-06-13 Thread Kenneth Gonsalves
On Saturday 13 June 2009 18:37:25 Lucas Hazel wrote: > From: Lucas Hazel > To: django-users@googlegroups.com > > -- > Lucas Hazel didn't work ;-) -- regards kg http://lawgon.livejournal.com --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: Is Django easy to learn and use for my web project?

2009-06-13 Thread Kenneth Gonsalves
On Sunday 14 June 2009 05:59:30 kakaruk...@gmail.com wrote: > I'm an intermediate level python programmer, a beginner in perl, a > total novice in php & javascript. I'm also an intermediate level Linux > user. I have designed and maintained websites before, some sites in > HTML/CSS, a blog using a

Re: Why django? Framework design or language

2009-06-13 Thread Kenneth Gonsalves
On Saturday 13 June 2009 20:29:47 Joshua Partogi wrote: > a) the language itself and they already master python, so they choose > django b) the design and the feature of the framework itself that fits > their needs I needed a framework using python and chose django as it was the first one I saw

Re: GHRML Documentation

2009-06-13 Thread Kenneth Gonsalves
On Sunday 14 June 2009 10:24:52 gte351s wrote: > I'm trying to learn how to work with django after working with ruby on > rails for some time (not too long). Rails has a nice template language > called Haml (http://haml.hamptoncatlin.com/), which I find much more > readable than regular HTML. It i

Re: Should this be its own app?

2009-06-18 Thread Kenneth Gonsalves
On Friday 19 June 2009 06:12:12 Wiiboy wrote: > I've got a website (project 'myproject'), in which people can make > their own newsletter articles for submission to a group newsletter. > Should everything that deals with newsletter stuff (storing articles, > etc.) be in it's own app, or be part of

Re: Should this be its own app?

2009-06-18 Thread Kenneth Gonsalves
On Friday 19 June 2009 06:37:59 Wiiboy wrote: > Right. > > I was wondering what would be best.  Would it make sense to have that > be it's own app? I personally would put everything in one app at the start. If things start to grow and you want to reuse that part in another project, or release it

Re: Load Templates from outside TEMPLATE_DIRS

2009-09-11 Thread Kenneth Gonsalves
On Saturday 12 Sep 2009 9:26:15 am mviamari wrote: > I'm trying to load a template file from outside of TEMPLATE_DIRS, i.e. > the template file does not reside in any of the template directories > specified in TEMPLATE_DIRS. > > Does anyone know if this is possible? I tried just specifying a path:

Re: Running Django on Tornado's HTTP server

2009-09-19 Thread Kenneth Gonsalves
On Monday 14 Sep 2009 1:56:32 am Bret Taylor wrote: > he module: > > import django.core.handlers.wsgi > import os > import tornado.httpserver > import tornado.ioloop > import tornado.wsgi > > def main(): > os.environ["DJANGO_SETTINGS_MODULE"] = 'myapp.settings' >

problem installing photologue

2009-09-21 Thread Kenneth Gonsalves
hi, I am on latest trunk and using latest photologue trunk. When I install it as per instructions I get the error given below. I haven't a clue as to what that message means. I know it has nothing to do with unicode as my db is unicode. If I comment out 'photologue' in installed apps, the app

Re: django vps hosts

2009-09-23 Thread Kenneth Gonsalves
On Thursday 24 Sep 2009 7:24:25 am neri...@gmail.com wrote: > I think I'm ready to finally switch to a django vps host due to > problems with django on DreamHost. Can anyone recommend a good vps > host? slicehost gandi.net linode -- regards kg http://lawgon.livejournal.com --~--~-~--~--

Re: list some django-powered web sites

2009-09-24 Thread Kenneth Gonsalves
On Thursday 24 Sep 2009 1:36:37 pm Anrs wrote: > hi everybody, We want to develop a Bussiness web site with Django > framework, but we can't decide django's performance. So, would you list > some > large-scale web sites that used django for us? http://djangosites.com -- regards kg http://lawgon.

Re: Running Django on Tornado's HTTP server

2009-09-29 Thread Kenneth Gonsalves
On Saturday 19 Sep 2009 5:13:39 pm Kenneth Gonsalves wrote: > On Monday 14 Sep 2009 1:56:32 am Bret Taylor wrote: > > he module: > > > > import django.core.handlers.wsgi > > import os > > import tornado.httpserver > > import tor

Re: Running Django on Tornado's HTTP server

2009-09-29 Thread Kenneth Gonsalves
On Tuesday 29 Sep 2009 2:44:26 pm Ramdas S wrote: > can I serve media > > > > from tornado, and if so, a pointer as to how? > > > > solved - managed to run several django sites of an nginx instance using > > virtual hosts and individual tornado servers for each virtual host. > > Coolness > > Kenne

Re: Running Django on Tornado's HTTP server

2009-09-29 Thread Kenneth Gonsalves
On Tuesday 29 Sep 2009 8:07:55 pm Javier Guerra wrote: > On Tue, Sep 29, 2009 at 4:24 AM, Kenneth Gonsalves > > wrote: > > will document after trying it in production - a zillion times faster > > faster than. ? flup? faster than apache/mod_wsg

Re: Running Django on Tornado's HTTP server

2009-09-29 Thread Kenneth Gonsalves
On Tuesday 29 Sep 2009 2:44:26 pm Ramdas S wrote: > > > cool - this worked out of the box - but no css and js - can I serve > > > media from tornado, and if so, a pointer as to how? > > > > solved - managed to run several django sites of an nginx instance using > > virtual hosts and individual tor

is this an i18n bug or a feature?

2009-10-07 Thread Kenneth Gonsalves
hi, I recently added malayalam to an app I run - unfortunately Malayalam does not load. (Tamil and english work fine). I then found that django itself does not have malayalam. That deficiency is being rectified, but in the meantime why should malayalam not load? I tried to create ~/locale/ml/L

Re: is this an i18n bug or a feature?

2009-10-07 Thread Kenneth Gonsalves
On Thursday 08 Oct 2009 7:05:27 am Karen Tracey wrote: > On Wed, Oct 7, 2009 at 8:15 PM, Kenneth Gonsalves wrote: > > hi, > > > > I recently added malayalam to an app I run - unfortunately Malayalam does > > not > > load. (Tamil and english work fine). I t

Re: Is django comment's honeypot really useful?

2009-10-07 Thread Kenneth Gonsalves
On Thursday 08 Oct 2009 9:32:23 am Joshua Partogi wrote: > I want to ask for your advice here regarding the honeypot field in > django comments. Is it really useful to prevent spam? Or should we add > another method for spam prevention and shouldn't really rely on this > honeypot. I currently been

Re: Simple Form and Model question

2009-10-09 Thread Kenneth Gonsalves
On Saturday 10 Oct 2009 11:34:11 am LuisC wrote: > So, what is the argument Clientes() is specting??? Why in shell the > field list with values are the correct arguments?? you are using keyword arguments in the shell and positional arguments in the view - maybe that is the problem? -- regards

Re: efficiently deleting content based on how old it is

2009-10-10 Thread Kenneth Gonsalves
On Sunday 11 Oct 2009 9:07:38 am buttman wrote: > you could also do it this way: > > http://pythonblog300246943.blogspot.com/2009/09/cron-jobs-with-django-made- >easy.html interesting - but the author's commenting module is b0rked, so was unable to add a comment (I hope he sees this and sets it

Re: Apache WSGI DJANGO

2009-10-11 Thread Kenneth Gonsalves
On Sunday 11 Oct 2009 12:14:13 pm lafada wrote: > Apache says, > > File does not exist: /var/lib/python-support/python2.5/django/contrib/ > admin/media/js/actions.js > > When I tried to locate server says, > /usr/lib/python2.5/site-packages/django/contrib/admin/media/js/ > actions.js > > what may

Re: __unicode__(self) doesn't work

2009-10-11 Thread Kenneth Gonsalves
On Monday 12 Oct 2009 10:39:48 am Denis Bahati wrote: > class Poll(models.Model): > question = models.CharField(max_length=200) > pub_date = models.DateTimeField('date published') > def __unicode__(self): > return self.question > def was_published_today(self): > return self.pub_date.date()

Re: Hi All: __unicode__(self)

2009-10-11 Thread Kenneth Gonsalves
On Monday 12 Oct 2009 11:05:38 am Denis Bahati wrote: > class Poll(models.Model): > question = models.CharField(max_length=200) > pub_date = models.DateTimeField('date published') > def __unicode__(self): > return self.question > def was_published_today(self): > return self.pub_date.date()

Re: Hi All: __unicode__(self)

2009-10-12 Thread Kenneth Gonsalves
On Monday 12 Oct 2009 11:25:27 am Russell Keith-Magee wrote: > On Mon, Oct 12, 2009 at 1:44 PM, Kenneth Gonsalves > > wrote: > > On Monday 12 Oct 2009 11:05:38 am Denis Bahati wrote: > >> class Poll(models.Model): > >> question = models.CharField(

migrating apps from pre MR branch

2009-10-12 Thread Kenneth Gonsalves
hi, I had 4 legacy sites running on pre-MR django, written back in 2005. Since feature requests were minimal once the apps were complete, there was no reason to upgrade them. Recently however, after I started using virtualenv for my trunk apps, I was having problem with admin log in on the old

Re: looking for simple comment app

2009-10-14 Thread Kenneth Gonsalves
On Wednesday 14 Oct 2009 12:47:34 pm andreas schmid wrote: > im looking for a simple comment app. > i need commmenting for instances only by logged in users and the author > is obviously request.user, dont need any preview or whatever. maybe a > mail notification on instances i commented on. > > w

Re: newbie. need help in validation

2009-10-14 Thread Kenneth Gonsalves
On Wednesday 14 Oct 2009 3:04:10 pm danin wrote: > I am new to Django (started 2 weeks back). right now i am > designing one application having model- > class info(models.Model): >name=models.CharField(max_length=100) >dob=models.DateField() >dod=models.DateField() >

Re: newbie. need help in validation

2009-10-14 Thread Kenneth Gonsalves
On Wednesday 14 Oct 2009 3:08:00 pm robin nanola wrote: > try reading this > http://www.cotellese.net/2007/12/11/adding-model-field-validation-to-the-dj >ango-admin-page/ I do not think validators exist in django now - that blog post was done in 2007. -- regards kg http://lawgon.livejournal.com

Re: Running Tornado instead of modwsgi apache

2009-10-15 Thread Kenneth Gonsalves
On Friday 16 Oct 2009 4:16:26 am Graham Dumpleton wrote: > > > Are you certain that the web server is the performance bottleneck? In > > > my experience, it rarely is. > > > > That argument aside, can we get an answer? > > But what he states is very important and shouldn't just be ignored. > > No

Re: Running Tornado instead of modwsgi apache

2009-10-15 Thread Kenneth Gonsalves
On Friday 16 Oct 2009 8:10:08 am djangou...@gmail.com wrote: > Blog post with tornado setup? :) http://www.djangosnippets.org/snippets/1748/ -- regards kg http://lawgon.livejournal.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: django + mod_python + apache2 config problem

2009-10-19 Thread Kenneth Gonsalves
jango in your trac and trac in your django. -- 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: using ajax with django

2009-10-19 Thread Kenneth Gonsalves
need to install. > > As Anton says, you didn't need any special library to use ajax in django, > but if you need an "easy-way" try http://dajaxproject.com/ it may help > you. wow! looks real good. -- regards Kenneth Gonsalves Senior Pro

spaces in urls

2009-10-24 Thread Kenneth Gonsalves
hi, I used to handle spaces in my urls by using [\w\s]+, and it used to work. Now I am getting this error: http://127.0.0.1:8886/message/This%20item%20is%20still%20under%20construction/ not found. latest svn head. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http

Re: syncdb for INSTALLED_APPS throws errors

2009-10-29 Thread Kenneth Gonsalves
base, either it is not installed or it is not on the path. -- 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: how could i specify column by using ManyToManyField ?

2009-10-29 Thread Kenneth Gonsalves
m/en/dev/topics/db/queries/#many-to-many- relationships -- 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.

solving the %20 problem

2009-11-01 Thread Kenneth Gonsalves
- 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

Re: solving the %20 problem

2009-11-01 Thread Kenneth Gonsalves
r urls. > these are usually user generated - they love to put spaces. I can handle spaces, but would like to know how the spaces become %20 and how to prevent this. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ --~--~-~--~~--

Re: solving the %20 problem

2009-11-01 Thread Kenneth Gonsalves
;> output, "PID: %s" % os.getpid() > print >> output > > keys = environ.keys() > keys.sort() > for key in keys: > print >> output, '%s: %s' % (key, repr(environ[key])) > print >> output > > out

Re: Remote developer opportunity

2009-11-02 Thread Kenneth Gonsalves
On Monday 02 Nov 2009 1:17:01 pm Kashif Azeem wrote: > I am interested. If you can write a little bit about yourself, type of > work, how to apply? > please take this offlist -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpli

Re: solving the %20 problem

2009-11-02 Thread Kenneth Gonsalves
On Monday 02 Nov 2009 9:54:11 am Kenneth Gonsalves wrote: > On Monday 02 Nov 2009 9:36:23 am Graham Dumpleton wrote: > > > these are usually user generated - they love to put spaces. I can > > > handle spaces, but would like to know how the spaces become %20 and how

Re: Remote developer opportunity

2009-11-02 Thread Kenneth Gonsalves
On Monday 02 Nov 2009 3:37:38 pm Chris Withers wrote: > Kenneth Gonsalves wrote: > > On Monday 02 Nov 2009 1:17:01 pm Kashif Azeem wrote: > >> I am interested. If you can write a little bit about yourself, type of > >> work, how to apply? > > > > &

Re: Accessing 'bytea' field using django.

2009-11-03 Thread Kenneth Gonsalves
e documentation for custom field types to roll your own. Generally speaking though, media should be served separately from django itself - often by a different webserver from a different machine. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ --~--~

Re: language switching in admin

2009-11-07 Thread Kenneth Gonsalves
nguage modifiying the main > admin template and giving them a change language form? > well I added the change language form to the main base.html form in admin (by overriding it), but the call to "/i18n/setlang/" is not working. Maybe a path problem. Any clues? -- regards Kenne

Re: language switching in admin

2009-11-07 Thread Kenneth Gonsalves
On Sunday 08 Nov 2009 9:47:53 am Kenneth Gonsalves wrote: > > And letting the users to change their language modifiying the main > > admin template and giving them a change language form? > > > > well I added the change language form to the main base.html form in adm

Re: language switching in admin

2009-11-08 Thread Kenneth Gonsalves
On Sunday 08 Nov 2009 9:51:23 am Kenneth Gonsalves wrote: > > well I added the change language form to the main base.html form in admin > > (by overriding it), but the call to "/i18n/setlang/" is not working. > > Maybe a path problem. Any clues? > > >

Re: How to handle this race condition?

2009-11-09 Thread Kenneth Gonsalves
tell me which middleware/decorator should I use to make sure > all those run within a single transaction? I'm pretty new to this. > transaction_commit_on_success - not too sure of the spelling. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/

Re: A simple database project

2009-11-10 Thread Kenneth Gonsalves
t ModelAdmin.search_fields in the docs. Not sure that this is what you are looking for though. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: admin.site.register() - help

2009-11-11 Thread Kenneth Gonsalves
a also to mention what error you are getting -- 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...@

Re: admin.site.register() - help

2009-11-11 Thread Kenneth Gonsalves
On Thursday 12 Nov 2009 9:33:20 am neridaj wrote: > I don't get an error, the models just aren't showing up in the admin. > what does syncdb say? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because yo

Re: admin.site.register() - help

2009-11-11 Thread Kenneth Gonsalves
see any error in indentation, but the best way to check is to press 'compile' on your ide and see if any errors show - indentation errors will show. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you a

Re: Making the case for Django (vs. Drupal)

2009-11-12 Thread Kenneth Gonsalves
year with the one hole in django in the past 4 years. btw, I tried to comment on your blog, but was rejected saying I was behind a proxy. Given that practically any one on a LAN is behind a proxy, this in practice prevents comments. -- regards Kenneth Gonsalves Senior Project Officer NRC-FO

Re: actions & triggers

2009-11-12 Thread Kenneth Gonsalves
looking for something like this? http://docs.djangoproject.com/en/dev/topics/signals/ -- 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 po

Re: The job of a django web designer

2009-11-15 Thread Kenneth Gonsalves
and to be able to code without Dreamweaver. > perfect answer - especially the last point -- 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 pos

Re: Making the case for Django (vs. Drupal)

2009-11-15 Thread Kenneth Gonsalves
w up with more security holes. And I find it impossible to counter this. I do also point out to plone vs drupal, but there again the argument is the drupal is more widely used and hence has more observable vulnerabilities. It does not sound logical. -- regards Kenneth Gonsalves Senior Projec

Re: Making the case for Django (vs. Drupal)

2009-11-15 Thread Kenneth Gonsalves
On Monday 16 Nov 2009 6:50:10 am Christophe Pettus wrote: > On Nov 15, 2009, at 5:10 PM, Kenneth Gonsalves wrote: > > I do also point out to plone vs drupal, but there again the > > argument is the drupal is more widely used and hence has more > > observable > > v

Re: first project taking it too production server

2009-11-16 Thread Kenneth Gonsalves
g the drupal installation in any way... > do you have shell access? is python *really* available (not just the binary, but all the modules? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to th

Re: Making the case for Django (vs. Drupal)

2009-11-16 Thread Kenneth Gonsalves
m, not a django issue (could be wrong). -- 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.co

Re: Django i18n

2009-11-16 Thread Kenneth Gonsalves
have done everything else correctly, it should work. -- 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 dj

Re: Making the case for Django (vs. Drupal)

2009-11-16 Thread Kenneth Gonsalves
On Tuesday 17 Nov 2009 8:46:31 am Mike Ramirez wrote: > On Monday 16 November 2009 18:08:35 Kenneth Gonsalves wrote: > > On Monday 16 Nov 2009 10:44:27 pm Mike Ramirez wrote: > > > > it is precisely this assumption that does not seem logical to me. But > > > &

Re: Django and reportlab table question

2009-11-16 Thread Kenneth Gonsalves
ngs like different languages, types etc. -- 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...@g

Re: Help with manage.py syncdb

2009-11-16 Thread Kenneth Gonsalves
python module used to connect to mysql - or maybe you installed it wrong. (usually the last line of a traceback tells you what you did wrong) -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the

Re: first project taking it too production server

2009-11-17 Thread Kenneth Gonsalves
drupal site. It would be good if you told us who your host is. -- 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 em

Re: Django javascript includes

2009-11-17 Thread Kenneth Gonsalves
On Tuesday 17 Nov 2009 3:45:01 pm Thierry wrote: > In Django its simply a line of template code. > what line of code is this? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the

Re: Multiple sites on a single server

2009-11-19 Thread Kenneth Gonsalves
rwarded from apache to a lighttpd instance. I have my sites path > containing each project (sites/site1 sites/site2 etc.) and have had this > setup for quite some time with absolutely zero problems. > I used to do this - I find it much easier to do it with nginx -- regards Kenneth Gon

Re: FAQ?

2009-11-19 Thread Kenneth Gonsalves
oned in the IRC topic. -- 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 unsubscr

Re: How best to display a report?

2009-11-21 Thread Kenneth Gonsalves
in the docs. -- 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 thi

Re: WebFaction warning

2009-11-27 Thread Kenneth Gonsalves
ng FUD from one instance. -- 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 un

Re: sorl thumbnail: messed-up thumb file path

2009-12-06 Thread Kenneth Gonsalves
On Sunday 06 Dec 2009 4:27:47 pm omat wrote: > Sorl thumbnail is creating invalid directories for thumbnails in my > development environment (mac os x, django dev server). > do not blame Sorl thumbnail - please post that part of your model that shows 'upload_to' setting.

handling changed files in ModelForm

2009-12-13 Thread Kenneth Gonsalves
? -- 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 this group, sen

csrf error on login and admin

2009-12-14 Thread Kenneth Gonsalves
login view in the prescribed manner. Any clues as to what is going wrong? -- 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,

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