A call for resumes

2011-08-31 Thread highpointe
Seasoned, senior level Python / Django users please contact me for a gig opportunity pr forward your resume. Thanks. Sent from my iPhone -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Combining queries? A "join" in Python?

2011-08-31 Thread Stuart
On Aug 30, 12:10 pm, graeme wrote: > > What my query does is give me a list of subcategories, ordered by > category, and then by the number of places in the category, and > annotates each subcategory with the number of places in it. > > Having a single category model

Re: Unable to have a template NOT show up

2011-08-31 Thread Reinout van Rees
On 31-08-11 22:39, Yves S. Garret wrote: When I said you're right, I meant your insight into my spelling error. That is the one thing that's hard in every web framework: find the spots where something can be wrong when everything *seems* right. Four common spots in django: - Typo in

Re: Unable to have a template NOT show up

2011-08-31 Thread Yves S. Garret
When I said you're right, I meant your insight into my spelling error. Those are the most annoying errors since they are so difficult to figure out after staring at the screen for so long. On Aug 31, 3:35 pm, Reinout van Rees wrote: > On 31-08-11 21:05, Yves S. Garret

Re: Unable to have a template NOT show up

2011-08-31 Thread Yves S. Garret
You're right! Thank you. I have another issue with this page and I'll write later (busy with something else.) On Aug 31, 3:35 pm, Reinout van Rees wrote: > On 31-08-11 21:05, Yves S. Garret wrote: > > > In template c:\python27\lib\site-packages\django\contrib\admin > >

Re: django setup.py access denies

2011-08-31 Thread Shawn Milochik
On 08/31/2011 04:32 PM, Bill Freeman wrote: So far today I've gotten two useless messages from you, and no spams. Don't feed the trolls. I'm sure a moderator will fix this, if they didn't already unsubscribe themselves. -- You received this message because you are subscribed to the Google

Re: django setup.py access denies

2011-08-31 Thread Bill Freeman
So far today I've gotten two useless messages from you, and no spams. On Wed, Aug 31, 2011 at 4:24 PM, Elie Obeid wrote: > I know how to unsubscribe i don't need your link, I don't trust any of you, > i don't know why this is the official group, this is the official

Re: django setup.py access denies

2011-08-31 Thread Elie Obeid
I know how to unsubscribe i don't need your link, I don't trust any of you, i don't know why this is the official group, this is the official spammers group -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: django setup.py access denies

2011-08-31 Thread Yves S. Garret
If you want to unsubscribe, just send an e-mail here: django-users+unsubscr...@googlegroups.com On Wed, Aug 31, 2011 at 4:16 PM, Elie Obeid wrote: > so great I subscribed to OFFICIAL group of django for help and what I > get SPAMS, i'm so delighted!! > > -- > You

Re: django setup.py access denies

2011-08-31 Thread Elie Obeid
so great I subscribed to OFFICIAL group of django for help and what I get SPAMS, i'm so delighted!! -- 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

django setup.py access denies

2011-08-31 Thread Elie
I am having this issue with django http://bit.ly/pTSSyY you could answer it here or there, if you are actually stackoverflow users then answer it there because I opened a 50pts for this question. -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Custom Validation on Inline Generic Foreign Key

2011-08-31 Thread John
I went ahead and hardcoded checks for fields that as of today I know will only be in one of the models. I would still love to hear any cleaner solutions if anyone has them. On Aug 26, 10:12 am, John wrote: > Any ideas? > > In the inline model's validation I could hardcode

Re: Mystery... Faked Referrer Generates 500 Instead of 404 Error

2011-08-31 Thread Reinout van Rees
On 31-08-11 21:19, charris wrote: Hello. I hope someone can provide some clues.I have begun receiving regular 500 errors from a page that does not exist. Without providing the entire error page, here are the essentials: [Django] ERROR (EXTERNAL IP): Internal Server Error:/sample/

Re: Unable to have a template NOT show up

2011-08-31 Thread Reinout van Rees
On 31-08-11 21:05, Yves S. Garret wrote: In template c:\python27\lib\site-packages\django\contrib\admin \templates\admin\change_list.html, error at line 11 Caught ViewDoesNotExist while rendering: Could not import polls.view. Error was: No module named view Most possible reason that I can

Mystery... Faked Referrer Generates 500 Instead of 404 Error

2011-08-31 Thread charris
Hello. I hope someone can provide some clues.I have begun receiving regular 500 errors from a page that does not exist. Without providing the entire error page, here are the essentials: [Django] ERROR (EXTERNAL IP): Internal Server Error: /sample/ path/calendar.pl IOError: request

Re: Unable to have a template NOT show up

2011-08-31 Thread Yves S. Garret
This is the current error that I'm getting in my browser: +++ +++ Template error In template c:\python27\lib\site-packages\django\contrib\admin \templates\admin\change_list.html, error at line 11 Caught ViewDoesNotExist

Re: Am I overlooking something or is this a bug in ModelForm?

2011-08-31 Thread koenb
On 31 aug, 17:12, Wim Feijen wrote: > Hello, > > I am using a form which (simplified) looks like this: > > class AdvancedSearchForm(forms.ModelForm): >     email = forms.CharField(label='Emailadres', required=False) > >     class Meta: >         model = Address >        

Unable to have a template NOT show up

2011-08-31 Thread Yves S. Garret
So I'm following this Django tutorial to become more familiar with how it works: https://docs.djangoproject.com/en/dev/intro/tutorial03/#write-views-that-actually-do-something I got to this part: Reload the page. Now you'll see an error: TemplateDoesNotExist at /polls/ polls/index.html Ah.

Re: Password Field Not being encrypted

2011-08-31 Thread raj
Ya, I had to use the set_password method. And I used it by creating my own save function in the UserForm class. Thanks for the help. On Aug 31, 10:22 am, lokesh wrote: > hi, >    Use set_password method from django contrib auth models in your > custom model. while saving

Am I overlooking something or is this a bug in ModelForm?

2011-08-31 Thread Wim Feijen
Hello, I am using a form which (simplified) looks like this: class AdvancedSearchForm(forms.ModelForm): email = forms.CharField(label='Emailadres', required=False) class Meta: model = Address fields = [ 'last_name', 'middle_name',

Re: This is nuts why dont I get POST?

2011-08-31 Thread MikeKJ
Ah all for a missing " Thank you Tom talk about not seeing the woods for the trees! Sheesh Tom Evans-3 wrote: > > On Wed, Aug 31, 2011 at 3:06 PM, MikeKJ wrote: > >> > > Incorrectly formatted tag, browser falls back to default method, which is > GET. >

Re: This is nuts why dont I get POST?

2011-08-31 Thread Tom Evans
On Wed, Aug 31, 2011 at 3:06 PM, MikeKJ wrote: > Incorrectly formatted tag, browser falls back to default method, which is GET. Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Password Field Not being encrypted

2011-08-31 Thread lokesh
hi, Use set_password method from django contrib auth models in your custom model. while saving your custom form pass the password to set password method and save returned encrypted password in your model. Lokesh On Aug 31, 12:05 am, raj wrote: > Hey guys, I'm trying to

This is nuts why dont I get POST?

2011-08-31 Thread MikeKJ
Model from django.db import models # Create your models here. roof_choices = ( ("South", "South"), ("South East", "South East"), ("South West", "South West"), ("East", "East"), ("West", "West"), ("North", "North") ) pv_choices = ( ("0.1-5 kWph", "0.1-5 kWph"),

Re: django-sms-gateway

2011-08-31 Thread Nan
__init.py__ (incorrect) or __init__.py (correct)? I suspect you'll need to a) describe in more detail what you're trying to do and what's failing, and b) share more of your code and the error traceback in order for anyone to help you diagnose the problem. On Aug 31, 4:28 am, damola oyeniyi

Re: Argh: templates, admin, and app loading order

2011-08-31 Thread Nan
Hm, yes, that might work, although at this point I'm a little concerned about changing the order of applications anyway, since I'm not sure what other side effects it might have. Mostly I'm uncomfortable with how important application order ends up being to how one's project operates, especially

Re: how to render context like this :

2011-08-31 Thread kele
thansk Evans , it worked . =) On Aug 31, 6:48 pm, Tom Evans wrote: > On Wed, Aug 31, 2011 at 11:40 AM, kele wrote: > > > c = Context( {'teams': > >                 {1: ['a', 'b'] , 2:['c', 'd']} > >       } ) > > > i have try like this : > > >      

Re: How to run tests?

2011-08-31 Thread mrstevegross
> Try "manage.py test data". Django doesn't really like those > dot-separated namespace packages, sadly. Only the last part is used. Ah, that works. Interesting. I wasn't the one who originally picked the name. I'll look into changing it. Thanks, --Steve -- You received this message because

Re: Django Development environment

2011-08-31 Thread Jani Tiainen
On 08/31/2011 01:46 PM, graeme wrote: On Aug 31, 1:16 pm, Jani Tiainen wrote: On 08/28/2011 12:31 PM, Simon Connah wrote: On 28 Aug 2011, at 04:41, Sam Walters wrote: Debug client-side: firebug, yslow, a windows computer with ie7 Rather than using a separate

Re: django-sms-gateway

2011-08-31 Thread damola oyeniyi
Hi Matt, The file is unchanged! I have just added the 'sms' app into the INSTALLED_APPS section of my settings.py file. I'm trying to loadadmin pages to enter the parameters for my gateway account when I get the error From: Matthew Schinckel

Re: Django Development environment

2011-08-31 Thread graeme
I am only supposed to be developing part time (mostly my own sites, occasionally a client), so my choices may not suit everyone (compromises with other needs, and have to be easy to learn). Linux Mint Debian Edition zsh (better history search reduces typing of various manage.py commands etc.)

Re: how to render context like this :

2011-08-31 Thread Tom Evans
On Wed, Aug 31, 2011 at 11:40 AM, kele wrote: > > > c = Context( {'teams': >                 {1: ['a', 'b'] , 2:['c', 'd']} >       } ) > > i have try like this : > >        {% for k in teams %} >         {{k}} {{k.0}}    # also try teams[k]  ... etc.  but also > dosent work >  

Re: Django Development environment

2011-08-31 Thread graeme
On Aug 31, 1:16 pm, Jani Tiainen wrote: > On 08/28/2011 12:31 PM, Simon Connah wrote: > > > > > On 28 Aug 2011, at 04:41, Sam Walters wrote: > > >> Debug client-side: > >> firebug, yslow, a windows computer with ie7 > > > Rather than using a separate computer with IE 7 I tend

how to render context like this :

2011-08-31 Thread kele
c = Context( {'teams': {1: ['a', 'b'] , 2:['c', 'd']} } ) i have try like this : {% for k in teams %} {{k}} {{k.0}}# also try teams[k] ... etc. but also dosent work {% endfor %} sorry for my noob question , but pls show me how to to this

Security implications of using the form.fields dictionary directly

2011-08-31 Thread vpetkov
Hi all, In relation to my previous post (unanswered, http://groups.google.com/group/django-users/browse_thread/thread/aad6fc7e6ad71b4f) I would like to ask about the security implications of doing the following: What I would like to have in the template is: {{ form.tueren.A}} {{ form.tueren.B

django-sms-gateway

2011-08-31 Thread damola oyeniyi
Hi all, I have managed to install django-sms-gateway for use in my application, but I run into a few problems. The structure of the package is such that the 3 models are inside a models directory. So far, everything looks like its in place; there is an __init.py__ file in the models directory

Re: Django Development environment

2011-08-31 Thread Jani Tiainen
On 08/28/2011 12:31 PM, Simon Connah wrote: On 28 Aug 2011, at 04:41, Sam Walters wrote: Debug client-side: firebug, yslow, a windows computer with ie7 Rather than using a separate computer with IE 7 I tend to just spin up an Amazon EC2 instance running Windows Server 2003 or Windows

Django and Cherokee...

2011-08-31 Thread Brian Myers
Hi all, I'm having some trouble getting Cherokee to work with Django, and I noticed there are a number of Cherokee, Django users out there. I've posted questions on the Cherokee list, but there are some Django specific questions I have. My project is called triagedb. It resides in the