Re: Is there an HTML editor that's Django-aware

2011-05-22 Thread Derek
On May 20, 8:58 pm, Shawn Milochik wrote: > +1 on Komodo Edit (I use the free one for almost all of my coding). > > I don't know exactly to what extent it handles Django template tags in > HTML, but it's never tripped me up, which is something, anyway. > > Shawn Another +1 for the free Komodo Edi

Re: How to get hold of the failed db query

2011-05-22 Thread Michael Radziej
Hi Thomas, there are multiple ways to catch the query. I suggest to enable query logging in your postgres server for failed statements. That's a good idea, anyway. See the "When to log" and "What to log" settings in the postgresql.conf file. Kind regards Michael -- -- You received this me

Re: how to solve this issue: "DatabaseError at /admin/myapp, no such column: myapp.myvar"

2011-05-22 Thread enqing
No, I don't think so, first I edit my Model like this: in model.py: Class UeSetting(model.Model): title = models.CharField('title',max_length=11,unique=True) changetime = models.DateTimeField('changetime',auto_now_add=True) def __unicode__(self):

Weird problem with rendering a Variable in a custom tag

2011-05-22 Thread stevedegrace
I developed a custom tag to look up the country of a certain IP address using an IP to country database. It's sort of rough and ready, but it should work. The idea is that you read the comment.ip_address, feed it to the {% country %} tag, which then spits out the two letter country code. The intere

Re: My tool to generate django code

2011-05-22 Thread Brice Leroy
Thanks you, I really appreciate :) 2011/5/21 sushanth Reddy > This is awesome Brice, > > Nice Work > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe fro

Re: My tool to generate django code

2011-05-22 Thread Brice Leroy
2011/5/22 John Griessen > On 05/22/2011 05:08 PM, Brice Leroy wrote: > >> The project is open >> > > I think it could be a teaching tool as well as a speed tool. If you afford to update it some how. Looks like a lot of research went > into it, > I try to spend as much time as possible on it,

Re: uber weird access problem from windows

2011-05-22 Thread Kenneth Gonsalves
On Sat, 2011-05-21 at 08:04 -0400, AJ wrote: > Just out of curiosity, is it firefox 4? Is it seen with some of the > other > web forms too? just one form - I do not have access to that machine right now, but I do not think it is ff4. Will confirm. -- regards KG http://lawgon.livejournal.com Coi

Re: Django SEO - feedback

2011-05-22 Thread Simon Connah
On 23 May 2011, at 00:28, Evan Ingam wrote: > I am trying to evaluate whether to go with Django SEO (http://django- > seo.readthedocs.org/en/latest/contents.html) or to create my own by > embedding the relevant meta data fields as values in the models. Doing > a search across the threads, there ar

Django for lean - app recommendation - A/B, cohort, user lifecycle, etc.

2011-05-22 Thread Jeremy Dunck
Hey all, I'm working on a project where I'd like to do user cohort analysis, create user lifecycle events (such as when a user hasn't used the site in X time), and A/B test changes. I know about https://bitbucket.org/akoha/django-lean/ but was wondering if people had any other favorites in thi

Django SEO - feedback

2011-05-22 Thread Evan Ingam
I am trying to evaluate whether to go with Django SEO (http://django- seo.readthedocs.org/en/latest/contents.html) or to create my own by embedding the relevant meta data fields as values in the models. Doing a search across the threads, there are not too many discussions on this. Looking for feedb

Multiple formsets in a view

2011-05-22 Thread ekms
Hello, in my view, I create dinamically multiple formsets, and I put a dinamic prefix to all of them (ex, formset1, formset2, ...), then I pack all the formsets in a list and pass it to the template. Later, how I can retrieve all the formsets from request.POST? I know that I've to do something li

Re: Authenticating from a mysql database

2011-05-22 Thread Jonas Geiregat
Hello, I've never worked with Zope so SompleUserFolder doesn't ring a bell. I'm assuming it's a database table name. You can always extend the default user's profile. This is done by creating a class , most people use UserProfile class UserProfile(models.Model): user = models.ForeignKey

Re: My tool to generate django code

2011-05-22 Thread Brice Leroy
The project is open source and is available on github https://github.com/debrice/djangogenerator / license creative common Brice Leroy Sent from my iPhone On May 22, 2011, at 10:56 AM, Mengu wrote: > I also did like it as well. however I wouldn't feel secure when I > started a new start-up pr

django, wsgi, virtualenv, apache2, fls

2011-05-22 Thread podio
I'm trying to configure apache2 + virtualenv + django + wsgi + fls I already have the virtualenv with python 2.6 and django 1.1.4 working. note01:/var/log/apache2# source /home/mariano/Python/virtualenvs/lfs/ bin/activate (lfs)note01:/var/log/apache2# python Python 2.6.6 (r266:84292, Apr 20 2011,

Re: My tool to generate django code

2011-05-22 Thread Mengu
I also did like it as well. however I wouldn't feel secure when I started a new start-up project so open sourcing the application would be very neat, imho. congratulations and thanks anyway! :) On May 22, 7:54 am, Brice Leroy wrote: > Hello guys, > > I posted a while ago about my project on this

Re: forum and blog for developers

2011-05-22 Thread Paul Menzel
Am Sonntag, den 22.05.2011, 11:53 -0500 schrieb Jacob Kaplan-Moss: > I think you're looking for http://www.djangoproject.com/community/. Perfect. I did not know about this. I am sorry for the noise. Thanks, Paul signature.asc Description: This is a digitally signed message part

Re: forum and blog for developers

2011-05-22 Thread Jacob Kaplan-Moss
I think you're looking for http://www.djangoproject.com/community/. Jacob -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-

Re: forum and blog for developers

2011-05-22 Thread Paul Menzel
Am Sonntag, den 22.05.2011, 08:17 +0800 schrieb Russell Keith-Magee: > On Sunday, May 22, 2011, fei wrote: > > I have been using Django for a while. The documentation for the Django > > official web page is great, plus the free online django book. There > > are enough documentations to get started

Re: forum and blog for developers

2011-05-22 Thread Karen Tracey
On Sun, May 22, 2011 at 11:18 AM, Charles wrote: > A forum would reduce the > number of help questions since the forum would have a "history" of what was > asked/answered before joining the mailing list. > This list has a history that goes back to July of 2005 (see http://groups.google.com/group

Question about to change the place of instanced forms in a modelformset

2011-05-22 Thread Julio Cesar
I want to know if this behavior has sense and which is the better way to implement it, also if django developers would take care about it. The problem is related to modelformsets, by default initial forms are shown first in the formset, but what to do if I would place it in the middle or at the la

Re: Why errors when restart but goes away after reload again! How fix?

2011-05-22 Thread Chris Seberino
Mateusz Thanks for the feedback. Those docs you pointed to were about missing views. I checked and my views are not missing. I looked more closely at the error message and noticed it appears to be complaining that my models are missing. I don't know if that helps. (see below) Could it also b

Authenticating from a mysql database

2011-05-22 Thread Uwe Schuerkamp
Hi folks, I'm in the process of migrating (or re-designing for that matter) a Zope-based user database /ranking system over to Django with roughly 30,000 accounts in it. The Zope instance uses SimpleUserFolder for authentication, so I was wondering if there is a way to authenticate django users fr

RE: forum and blog for developers

2011-05-22 Thread Charles
As a newbie to both Django and Python I would love to see a forum. It is easier to search a forum for information and help. A forum would reduce the number of help questions since the forum would have a "history" of what was asked/answered before joining the mailing list. Charles -Original M

Re: Problems with "Polls app"

2011-05-22 Thread Ivan Galic
What exactly is the problem? 'couldn't do it ok' isn't telling much. You do seem to have some problems with the indentation though. Ivan On May 22, 2011, at 10:51 AM, abilondias wrote: > Hello everyone, > I was trying Django and building the first app in the tutorial so I > couldnt do it ok >

Pages not showing up in Django admin

2011-05-22 Thread Wayne
Hi, I'm running into an issue (I think) with the SVN development version of Django. I followed these instructions to install the Django development version, running Ubuntu 10.10, Apache 2.2.16, and libapac

Problems with "Polls app"

2011-05-22 Thread abilondias
Hello everyone, I was trying Django and building the first app in the tutorial so I couldnt do it ok [manage.py] import datetime from django.db import models class Poll(models.Model): question = models.CharField(max_length=200) pub_date = models.DateTimeField('date published')

Re: forum and blog for developers

2011-05-22 Thread fei
> > The good news is that because we are a volunteer organization, > *anyone* can help out. If you think a developer blog would be > worthwhile, start writing! You don't need to be officially blessed to > start a blog. Once you've got the blog, you can add it to the > community aggregator, so ever

Re: Why errors when restart but goes away after reload again! How fix?

2011-05-22 Thread Mateusz Marzantowicz
On Sun, May 22, 2011 at 8:41 AM, Chris Seberino wrote: > On May 21, 6:35 pm, Mateusz Marzantowicz > wrote: > > What server are you using? What is your configuration? Do you have > mod_wsgi, > > mod_python or something else? What is your browser, OS, etc. Please do > not > > let us guess. > > I a