Re: csrf error on login and admin

2009-12-14 Thread Kenneth Gonsalves
On Monday 14 Dec 2009 4:20:54 pm Kenneth Gonsalves wrote: > I just upgraded to the latest trunk. I get csrf cookie not set error on > attempting to log in - both on site and in admin. I have added the > middleware as prescribed and also added the {% csrf_token %} within the > form

Re: csrf error on login and admin

2009-12-14 Thread Kenneth Gonsalves
f.middleware.CsrfMiddleware' to the list of > middleware classes, MIDDLEWARE_CLASSES. > My Problem is resolved.. Its working Fine now... > if you had read my mail, you would have found that even though I did all this it was still not working - the reason was browser/proxy cache. Hitting r

Re: csrf error on login and admin

2009-12-14 Thread Kenneth Gonsalves
On Monday 14 Dec 2009 4:59:57 pm Kenneth Gonsalves wrote: > On Monday 14 Dec 2009 4:20:54 pm Kenneth Gonsalves wrote: > > I just upgraded to the latest trunk. I get csrf cookie not set error on > > attempting to log in - both on site and in admin. I have added the > > midd

Re: csrf error on login and admin

2009-12-14 Thread Kenneth Gonsalves
On Tuesday 15 Dec 2009 6:24:29 am Kenneth Gonsalves wrote: > On Monday 14 Dec 2009 4:59:57 pm Kenneth Gonsalves wrote: > > On Monday 14 Dec 2009 4:20:54 pm Kenneth Gonsalves wrote: > > > I just upgraded to the latest trunk. I get csrf cookie not set error on > > > att

Re: csrf error on login and admin

2009-12-14 Thread Kenneth Gonsalves
mon on dev > servers. logging into one sets a global cookie for example.com that > conflicts with the other disallowing login till I delete existing > cookies. > will look into this - maybe there is light at the end of the tunnel ;-) -- regards Kenneth Gonsalves Senior Projec

Re: csrf error on login and admin

2009-12-14 Thread Kenneth Gonsalves
On Tuesday 15 Dec 2009 6:39:10 am Kenneth Gonsalves wrote: > On Tuesday 15 Dec 2009 6:36:44 am Mike Ramirez wrote: > > > problem has cropped up again - I can login, forms work on the website, > > > but not in admin. Login works in admin, but all other forms in admin do > &

Re: csrf error on login and admin

2009-12-14 Thread Kenneth Gonsalves
On Tuesday 15 Dec 2009 7:05:40 am Mike Ramirez wrote: > On Monday 14 December 2009 17:19:02 Kenneth Gonsalves wrote: > > I cleared all cookies - now all forms have stopped working with 'cookie > > not set' csrf error. > > > > hmm, never happened to me there,

Re: csrf error on login and admin

2009-12-14 Thread Kenneth Gonsalves
On Tuesday 15 Dec 2009 7:13:04 am Kenneth Gonsalves wrote: > > hmm, never happened to me there, I suggest trying another browser. If it > > still continues, no clue, sorry. > > > > I tried another browser - same problem of erratic behaviour, at times > login works,

Re: csrf error on login and admin

2009-12-14 Thread Kenneth Gonsalves
On Tuesday 15 Dec 2009 9:07:38 am Kenneth Gonsalves wrote: > > I tried another browser - same problem of erratic behaviour, at times > > login works, at other times it does not - forms on site work, but forms > > in admin do not work. Then I thought maybe my webser

Re: Can a django form render a javascript (interactive) calendar?

2009-12-15 Thread Kenneth Gonsalves
ndar with the correct id. Here is a sample: http://bitbucket.org/lawgon/ilugc/src/tip/templates/web/addevent.html -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google Groups "Djang

Re: Can a django form render a javascript (interactive) calendar?

2009-12-15 Thread Kenneth Gonsalves
On Wednesday 16 Dec 2009 12:32:21 pm Kenneth Gonsalves wrote: > On Wednesday 16 Dec 2009 12:23:48 pm codingJoe wrote: > > Is it possible for django to render a javascript calendar? How so? > > If this is possible, a code snippet would be very helpful. > > > > same a

Re: Django editor for Debian

2009-12-16 Thread Kenneth Gonsalves
also. > > Thanks. > > vim, emacs, netbeans, pydev, idle, boa... Just few to mention, all > depends on your preferences. > > Personally I'm quite happy with eclipse + pydev. > geany, eric -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelplin

Re: can any on help me how to create a sample model project.

2009-12-16 Thread Kenneth Gonsalves
On Wednesday 16 Dec 2009 1:53:10 pm Justin Steward wrote: > Not sure on the name of the corresponding red hat package. > yum search *mysql* -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscri

Re: Django ugettext() got an unexpected keyword argument 'default' (template error)

2009-12-16 Thread Kenneth Gonsalves
any clues? -- 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 g

Re: csrf error on login and admin

2009-12-18 Thread Kenneth Gonsalves
On Wednesday 16 Dec 2009 10:45:49 am Paddy Joy wrote: > Try 'django.middleware.csrf.CsrfMiddleware' instead of > 'django.contrib.csrf.middleware.CsrfMiddleware' > copied and pasted straight from the official docs -- regards Kenneth Gonsalves Senior

on manage.py validate why is django trying to access the database?

2009-12-22 Thread Kenneth Gonsalves
ib/python2.6/django/db/backends/postgresql/base.py", line 53, in execute return self.cursor.execute(smart_str(sql, self.charset), self.format_params(params)) psycopg.ProgrammingError: ERROR: relation "django_site" does not exist SELECT "django_site"."id", &

Re: on manage.py validate why is django trying to access the database?

2009-12-22 Thread Kenneth Gonsalves
On Tuesday 22 Dec 2009 4:51:31 pm Kenneth Gonsalves wrote: > in a site on my local machine I am getting a psycopg programming error on > doing manage.py validate. Other sites on the same machine are behaving ok. > Any clues? > solved - someone had put code to execute in mod

problem with apache and wsgi

2010-04-23 Thread Kenneth Gonsalves
shows the file as http://mysite/smedia/images/pic.jpg but the apache error log shows: /home/user/mediaimages/pic.jpg not found - note that the '/' between 'media' and 'images' is missing. What can be the cause of this error? -- regards Kenneth Gonsalves

Re: problem with apache and wsgi

2010-04-25 Thread Kenneth Gonsalves
On Friday 23 Apr 2010 6:03:33 pm Massimiliano della Rovere wrote: > does apache have the rights to open the file and enter the directories > smedia and images? > yes -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received thi

how to exclude objects with manytomany

2010-05-01 Thread Kenneth Gonsalves
hi, I have a model called 'Team' with a manytomany field to 'Player'. How do I select all the players who are not in any team? I remember doing this once, but cannot find what I did. -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au

Re: how to exclude objects with manytomany

2010-05-01 Thread Kenneth Gonsalves
On Saturday 01 May 2010 10:54:52 pm Kenneth Gonsalves wrote: > I have a model called 'Team' with a manytomany field to 'Player'. How do I > select all the players who are not in any team? I remember doing this > once, but cannot find what I did. > I have

Re: Multiple Django versions on one server?

2010-05-03 Thread Kenneth Gonsalves
way to place a copy of the Django beta into > myapp/django and use that instead of the installation in site- > packages? Thanks > virtualenv is your friend -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You received this message beca

Re: django with mod_wsgi on centos

2010-05-08 Thread Kenneth Gonsalves
enied errors in mandriva and fedora when the relevant directories/files are not executable by all. Maybe a chmod a+x would help. -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Django users&q

Re: Shows indendation error

2010-05-13 Thread Kenneth Gonsalves
On Thursday 13 May 2010 12:31:53 ravi krishna wrote: > > (r'^admin/',include('admin.site.urls')), > this line is wrongly indented (that is line 25) -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are su

[slightly OT] how to increase fcgi timeouts

2010-05-21 Thread Kenneth Gonsalves
hi this is slightly OT, but I have implemented nginx+fcgi and find that fcgi timesout after 40 seconds - and some of my queries run longer than that. I have searched the net for this, and find many complaints, but no solution. Has anyone on this list solved this problem. -- Regards Kenneth

Re: mod_wsgi can't find app to import..but I added path to wsgi file?!

2010-05-25 Thread Kenneth Gonsalves
On Wednesday 26 May 2010 03:52:16 Chris Seberino wrote: > I tried adding paths to sys.path in the wsgi file. > you need to add the path to the *parent* directory of your project, and your project should have __init__.py in every folder where there are python files -- Regards Kenneth Gon

Re: Resize uploaded file file with PIL

2010-05-25 Thread Kenneth Gonsalves
topics-files basically django stores the filename in the db and the actual file on the filesystem, so to manipulate, all you need to do is find the file on the filesystem and modify it using standard python. -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message

Re: Resize uploaded file file with PIL

2010-05-26 Thread Kenneth Gonsalves
file never touches my filesystem and always stays a stream > or whatever file-like object it is until it's gone to the custom > storage for good. > just a clarification - how do you tell django where to store the file? -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -

Re: best approach to solve statistical problem

2010-05-27 Thread Kenneth Gonsalves
yer model knows it's statistics ... I mostly use pure python for the calculations and periodically pickle and save the results for faster access. (please ignore this if it sounds like irrelevant rambling) -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received thi

Re: How to use Django with Apache and mod_wsgi

2010-06-04 Thread Kenneth Gonsalves
On Saturday 05 June 2010 10:49:59 Jagdeep Singh Malhi wrote: > please Discuss in detail ... > I am not able to understand ,how i can use Django with mod_wsgi > no big deal - just follow the docs -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You rece

Re: Django with Apache and mod_python

2010-06-05 Thread Kenneth Gonsalves
On Saturday 05 June 2010 16:30:46 Jagdeep Singh Malhi wrote: > PythonPath "['/home/username/mysite'] + sys.path" > PythonPath "['/home/username/'] + sys.path" -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this me

Re: Django with Apache and mod_python

2010-06-05 Thread Kenneth Gonsalves
mplate with either the wrong path or wrong filename -- 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 u

Re: Django with Apache and mod_python

2010-06-05 Thread Kenneth Gonsalves
On Sunday 06 June 2010 09:12:30 Jagdeep Singh Malhi wrote: > Sir , i am not able to remove this error.. > which of template or file name is wrong.. > how would I know? I know nothing about your directory structure, your models and views. -- Regards Kenneth Gonsalv

Re: Haven't enabled CSRF protection and yet server throws CSRF based 403

2010-06-07 Thread Kenneth Gonsalves
st aborted. > > I haven't turned CSRF protection when I was using 1.1.1, so my project > should be ready to go, but it isn't. What I might be doing still > wrong? > it is on by default isn't it? -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KB

Re: Haven't enabled CSRF protection and yet server throws CSRF based 403

2010-06-07 Thread Kenneth Gonsalves
t, it is worth doing once and for all - remember that this is practically the only security hole found in django after nearly 5 years of release. -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Dja

Re: limit on date in postgres/django

2010-06-09 Thread Kenneth Gonsalves
llowing error. > I'm using Django 1.0.5 alpha and Postgres 8.3.9. > according to the manual postgresql's minimum date is 4713 BC, and python datetime module handles 61 fine (although it gets confused with 0061). Maybe psycopg still uses the mx.datetime module which may be the cu

Re: limit on date in postgres/django

2010-06-09 Thread Kenneth Gonsalves
On Wednesday 09 June 2010 17:49:50 Wim Feijen wrote: > It is a production machine with a lot of custom software, so I cannot > change that right now. For me, it worked fine under Django 1.0.3 alpha > and postgres 8.2.7 ! ?? > are you using psycopg1 or 2? -- Regards Kenneth Gons

Re: Django Send Mail

2010-06-09 Thread Kenneth Gonsalves
mtp authentication. -- 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 gr

Re: unable to download django

2010-06-09 Thread Kenneth Gonsalves
e a very bad internet connection. Anyway, delete all the files you downloaded and try another checkout - please keep deleting and trying until you get a complete check out (or take your machine to somewhere where there is a decent internet connection and try from there. -- Regards Kenneth Gons

Re: CSRF token not adding hidden form field

2010-06-09 Thread Kenneth Gonsalves
;'django.middleware.csrf.CsrfViewMiddleware', > >'django.contrib.auth.middleware.AuthenticationMiddleware', > >'django.contrib.messages.middleware.MessageMiddleware', > > ) > > Can you add 'django.middleware.csrf.CsrfRe

Re: Django Send Mail

2010-06-10 Thread Kenneth Gonsalves
.. > not all are - I faced this problem many years ago when my provider suddenly smtp-authenticated a cpanel account - but you can run django with debug on and see the error -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscr

Re: Django fcgi

2010-06-10 Thread Kenneth Gonsalves
On Thursday 10 June 2010 17:29:31 Jeliuc Alexandr wrote: > Hello. I just installed django on remote host using fcgi mode... > Now I've strange problem it works for chrome and gives error for > firefox > what error? -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS a

Re: Django fcgi

2010-06-10 Thread Kenneth Gonsalves
htaccess ? > my only experience in this was when lots of people were seeing blank screens whereas it worked fine in my firefox - I later found that there was a missing tag - and more forgiving browsers were displaying the screen, whereas stricter browsers were not. -- Regards Kenneth Gonsa

Re: PendingDeprecationWarning during tests

2010-06-10 Thread Kenneth Gonsalves
On Thursday 10 June 2010 18:35:32 Plovarna wrote: > Does anybody know where this messages came from? > looks like the new multidb syntax needed for your connection string in settings.py -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message becau

Re: Simplification of a DB "query"

2010-06-10 Thread Kenneth Gonsalves
On Thursday 10 June 2010 19:26:33 illuminated wrote: > Although the above algorithm would/should work, I was wondering if > there was more elegant way to this? > without an endtime, it is going to be difficult -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You

Re: Django fcgi

2010-06-10 Thread Kenneth Gonsalves
On Thursday 10 June 2010 19:13:54 Jeliuc Alexandr wrote: > Thank You! :) > It was tag. > beer on you next time we meet ;-) -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Django us

Re: Error I continue to get

2010-06-10 Thread Kenneth Gonsalves
ernal command > operable program or batch file > what distro are you using? -- 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 djang

Re: unable to download django

2010-06-10 Thread Kenneth Gonsalves
path and you are done -- 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 gro

Re: Error I continue to get

2010-06-10 Thread Kenneth Gonsalves
e' -- 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 em

Re: syncdb always indicates there are no fixtures

2010-06-11 Thread Kenneth Gonsalves
e are these files? they should be in a fixtures directory which is at the same level as your models.py and views.py -- 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

Re: error : python manage.py shell

2010-06-12 Thread Kenneth Gonsalves
nd it will show the indentation error - indentation is part of python syntax. You should not waste the time of this list by bringing up basic python errors here - if necessary please take a short course in python. -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You receive

Re: extreme newbie, cannot get install to work

2010-06-12 Thread Kenneth Gonsalves
On Sunday 13 June 2010 04:40:10 Jerry Schrader wrote: > oh, well, Windows, and Linux Ubuntu. I was in Ubuntu when I wrote. > where were you when you installed? -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed

Re: Seeking Django vs. Joomla comparison

2010-06-14 Thread Kenneth Gonsalves
work, php is a scripting language - you should look to compare php with python. -- 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

Re: ForeignKey, Inline, and normal Admin interface

2010-06-15 Thread Kenneth Gonsalves
odels, preferably outside admin -- 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 g

Re: Seeking Django vs. Joomla comparison

2010-06-15 Thread Kenneth Gonsalves
case compare drupal/joomla with plone. Plone will win hands down. -- 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: Seeking Django vs. Joomla comparison

2010-06-15 Thread Kenneth Gonsalves
e to non-existent in plone, suits may not feel comfortable with it. -- 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...@googlegro

Re: Selling Django

2010-06-16 Thread Kenneth Gonsalves
the django market is among developers. -- 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 unsubscrib

key error in templates

2010-06-16 Thread Kenneth Gonsalves
te-packages/django/template/__init__.py" in _resolve_lookup 725. current = getattr(current, bit) File "/usr/lib/python2.6/site-packages/django/db/models/fields/files.py" in __get__ 175. file = instance.__dict__[self.field.name] Exception Type: Te

Re: key error in templates

2010-06-16 Thread Kenneth Gonsalves
On Thursday 17 June 2010 06:46:21 Kenneth Gonsalves wrote: > in many models with an imagefield called photo, I have this code in the > template: > > {% if p.photo %} > > > {% endif %} > > this has been working across many sites for

Re: key error in templates - solved

2010-06-16 Thread Kenneth Gonsalves
On Thursday 17 June 2010 06:46:21 Kenneth Gonsalves wrote: > In my current project I am getting keyerror: photo where the photo does > not exist. This is running on latest trunk. The only difference between > the two sites is that in site where it is working, 'p' is a query

Re: key error in templates - solved

2010-06-16 Thread Kenneth Gonsalves
trunk and gave up after 5 minutes - I have my own gallery app which is enough for my purposes -- 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 gr

Re: Selling Django

2010-06-17 Thread Kenneth Gonsalves
t; goal is to increase django market share. They are the people who hire > you and I. If not, it's a moot point. > and drupal/joomla/plone/wordpress are ideal for this space - django does not fit here -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You rece

how to eliminate duplicates

2010-06-17 Thread Kenneth Gonsalves
course I can prevent future mistakes by adding validation, but now I am faced with the problem of merging these records - any suggestions on how to do this? Flow would be: 1. select duplicate names 2. shift all records of the duplicate to the original 3. delete the duplicate. -- Regards Kenneth

Re: how to eliminate duplicates

2010-06-18 Thread Kenneth Gonsalves
On Friday 18 June 2010 07:27:10 Shawn Milochik wrote: > Use South data migrations. > I do not understand what data migration has to do with this. -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google

Re: how to eliminate duplicates

2010-06-18 Thread Kenneth Gonsalves
On Friday 18 June 2010 14:07:53 Tom Evans wrote: > On Fri, Jun 18, 2010 at 9:03 AM, Kenneth Gonsalves wrote: > > On Friday 18 June 2010 07:27:10 Shawn Milochik wrote: > >> Use South data migrations. > > > > I do not understand what data migration has to do with

Re: Serving media files

2010-06-19 Thread Kenneth Gonsalves
On Saturday 19 June 2010 10:48:57 Jagdeep Singh Malhi wrote: > packeages/ > packages -- 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

Re: A Django project life cycle

2010-06-19 Thread Kenneth Gonsalves
uest? or it remain in memory ? > and any other useful information > well first thing is that django is a framework and not a server. So basically the flow is precisely the same as ordinary cgi programming. You type in a url which calls a function which does something and displays a p

Re: How can I debug file uploads?

2010-06-19 Thread Kenneth Gonsalves
data. What do I need to look at in the > debugger to determine why it's missing? > is this line in your template: form enctype="multipart/form-data" -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to t

Re: How can I debug file uploads?

2010-06-19 Thread Kenneth Gonsalves
est.POST,request.FILES) if form.is_valid(): do something in your view? -- 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...@google

feature request - iunique

2010-06-20 Thread Kenneth Gonsalves
ackgrounds generally tends to ignore case. It is fairly trivial to write a line or two of code to handle this, but in view of the widespread prevalence of the problem iunique on a charfield would be a welcome feature. -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You rec

Re: A Django project life cycle

2010-06-20 Thread Kenneth Gonsalves
#x27;t send me those link. > > > Can anyone give OP a useful answer? > > what do you mean by OP > Original Poster -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Django

Re: PostgreSQL backend - Ident authentication failed?

2010-06-20 Thread Kenneth Gonsalves
On Monday 21 June 2010 11:18:27 Victor Hooi wrote: > OperationalError at admin > FATAL: Ident authentication failed for user "victorhooi" > in pg_hba.conf change the authorisation from ident to password -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KB

Re: PostgreSQL backend - Ident authentication failed?

2010-06-21 Thread Kenneth Gonsalves
direct access to the database -- 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 gr

Re: PostgreSQL backend - Ident authentication failed?

2010-06-21 Thread Kenneth Gonsalves
On Monday 21 June 2010 12:45:11 Victor Hooi wrote: > I'm still curious what changed? Perhaps Ubuntu's default pg_hba.conf > default always has ident in all distros that I am aware of -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message

Re: PostgreSQL backend - Ident authentication failed?

2010-06-21 Thread Kenneth Gonsalves
ewhere deep down in the traceback, you may see your database username and password! As for the apache question there are experts in this list who can anwer them. -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Goo

Re: Mysql-Python error

2010-06-21 Thread Kenneth Gonsalves
On Monday 21 June 2010 13:04:19 Eduan wrote: > When installing Mysql-Python I get this error. > > Traceback (most recent call last): > File "setup.py", line 5, in > from setuptools import setup, Extension > ImportError: No module named setuptools > install

Re: PostgreSQL backend - Ident authentication failed?

2010-06-21 Thread Kenneth Gonsalves
gt; > Thanks for mocking what was and still is a serious point. > I am sorry if you feel I was mocking - it was not my intention. And the point you were bringing up about Apache is a vast subject and I am not competent to answer it. As for the debug thing, it is just a warning not to run debug

Re: PostgreSQL backend - Ident authentication failed?

2010-06-21 Thread Kenneth Gonsalves
but I'm not sure > once you add in Apache and things like Django on top of it. > I am not too sure whether connection over tcp/ip comes under 'local' -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are sub

Re: Deploying Django with mod_wsgi

2010-06-22 Thread Kenneth Gonsalves
On Tuesday 22 June 2010 11:08:00 commonzenpython wrote: > PythonPath "['/home/ashtanga/public_html/ash'] + sys.path" > PythonPath "['/home/ashtanga/public_html/'] + sys.path" and make sure you have an __init__.py file in your 'ash' dire

Re: not able to install django development version

2010-06-22 Thread Kenneth Gonsalves
On Wednesday 23 June 2010 10:07:48 samie wrote: > could not conn > ect to server (http://code.djangoproject.com)"" > check your internet connection -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed t

Re: import django : error

2010-06-23 Thread Kenneth Gonsalves
a python shell and try the import -- 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

Re: Deploying Django with mod_wsgi

2010-06-24 Thread Kenneth Gonsalves
teable by apache -- 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 ema

Re: Deployment hesitation after James Bennett's post, WSGI or ...?

2010-06-24 Thread Kenneth Gonsalves
, where there's just a blog and a few > rarely-altered pages)? > > (My very small partnership runs Apache2 on a Linux VPS server (Debian > 5.0.4/Lenny with 512 MB). > for a small vps, nginx with fcgi is a very good option (or cherokee I'm told) -- Regards Kenneth Gonsalv

Re: Using PostgreSQL Blob from Django

2010-06-24 Thread Kenneth Gonsalves
ou do 'a' as then all the django and django addon file/image handling functions will be available to you. -- 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

reloading in shell

2010-06-24 Thread Kenneth Gonsalves
hi, when I run python manage.py shell, I find each time there is a change in code or an error I have to exit the shell and re enter it. Which means I lose the history - is there an easier way to do this? -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this

Re: reloading in shell

2010-06-24 Thread Kenneth Gonsalves
ade my life much easier. -- 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 g

Re: reloading in shell

2010-06-25 Thread Kenneth Gonsalves
ing python interpreter and still not having colour :) ? > yum install ipython is easier still -- 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: reloading in shell

2010-06-25 Thread Kenneth Gonsalves
best choice, but thanks for the interesting read. > btw, someone mentioned bpython as being even better -- 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 thi

[ANN] Pycon India

2010-06-26 Thread Kenneth Gonsalves
hi, for those of you who could be interested: http://in.pycon.org/2010/cfp for others - sorry for the noise -- 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 po

Re: Tutorial problems

2010-06-27 Thread Kenneth Gonsalves
On Sunday 27 June 2010 20:59:14 Darren wrote: > If you are using apache on Debian Linux, /etc/init.d/apache restart. Other > Linux distros and Mac look for apachectrl. > apachectl on others and apache2ctl on debian -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC

Re: error at first page of django tutorial

2010-06-28 Thread Kenneth Gonsalves
On Monday 28 June 2010 13:19:45 samie wrote: > IndentationError at admin > unexpected indent (urls.py, line 5) > go to line 5 of your urls.py file and fix the indentation -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are s

Re: error at first page of django tutorial

2010-06-28 Thread Kenneth Gonsalves
On Monday 28 June 2010 13:51:28 samie wrote: > not able to fix it yet.. > > plz explain in detail.. > please go and learn the basics of python - as already suggested in this thread -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message bec

Re: Load Different Views at same 'browser view'

2010-06-29 Thread Kenneth Gonsalves
c.. > check out templatetags - that is one way of implementing 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" group. To post to this group, send email to django-us...

Re: how to develop cms on django

2010-06-30 Thread Kenneth Gonsalves
installation, set up and deployment or go for wordpress, drupal or joomla -- 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 dj

Re: Should I start to use Mako from beginning?

2010-06-30 Thread Kenneth Gonsalves
concern also happened for the data model component. > Should I use SQLAchemy from beginning? > again the django ORM is used by most people - but again it is your choice. -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are sub

Re: Architecture? (newbie)

2010-07-03 Thread Kenneth Gonsalves
y. So just put everything where it makes you most comfortable, and make sure django can find it. Follow what you were doing for 3GL and you will be fine. -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups

get_model()

2010-07-07 Thread Kenneth Gonsalves
hi, any reason why get_model() in django.db.models is not documented? Or is it just that I cannot find it? -- 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: Django developer opening

2010-07-08 Thread Kenneth Gonsalves
On Friday 09 July 2010 03:59:50 j wrote: > What exactly didn't you like about the add? > maybe it sounds very corporate and enterprisy - which puts off a lot of people -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are su

Re: Get pk before commit

2010-07-08 Thread Kenneth Gonsalves
th a temp file or set it to null=True, then create > the folder, but that seems bad to me. > there is a save(commit=False) which should do the trick. -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Group

Re: News on every page

2010-07-08 Thread Kenneth Gonsalves
re is the right place to place news loader? > templatetags could help here - there is a good tutorial on b-list (about 3-4 years old) -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Django u

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