Right way to modify contrib auth package?

2013-05-01 Thread testbackupacct
Hi, I'm fairly new to Django, and would like to enforce a minimum password length for my site's users. I'm using James Bennett's registration package and have made the needed changes to forms.py. It works great. Now I'd like to apply the same password requirements when a user changes or

Installing django-allauth

2013-05-01 Thread Avraham Serour
Hi, I'm trying to install django-allauth in a new project (if anyone can recommend something else for any reason I'm open to suggestions) when running syncdb it says that I need to use south migrate for the allauth apps when running it throws an exception: django.db.utils.DatabaseError: table

Dynamic block names in template.

2013-05-01 Thread Muhammed K K
I was searching for an option to set the block name of a django template dynamically and couldn't find and good resources. I browsed through the django code base and made a hack. I am not sure if it breaks any functionalities of django. Can any one verify this. I posted a question and the hack

how to combine multiple related applications in one project/site

2013-05-01 Thread Sells, Fred
We're a small organization with limited sysadmin support and a low thruput requirement. I've got some common features that are evolving that are used in all projects, even though the projects themselves are unrelated and on different servers. I have a very specific logging function to a mysql

Eclipse django configration problem please help

2013-05-01 Thread Haridass C
Hi, I'm new to django i had installed python2.7.3 django 1.5.1 it is working properly in command prompt. I configured python using pydev. When i create django project it is creating a folder without any error, but it doesn't have any project files on it. Please help Thanks Hari -- You

Re: I encountered a core exception and need help configuring for a database. My OS is Ubuntu 12.10 32 bit

2013-05-01 Thread hugh Manchu
make sure you have your settings.py configured properly... if you still need help I will check back later today and see what i can do. On Thu, Apr 25, 2013 at 7:01 AM, Iftikhar Ali wrote: > buddy i am also getting the same error... if you have so far got the >> answer

Re: Multi-tenant database model with new user model?

2013-05-01 Thread Dan Gentry
Something I'm looking forward to learning as well. My app uses the older user_profile approach. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Pip type error.

2013-05-01 Thread ilan
Brilliant ! I was using powershell. When I switched back to good old cmd.exe pip freeze worked fine On Saturday, July 21, 2012 9:00:50 AM UTC+3, Jauharul Fuady wrote: > > > > On Sunday, 11 March 2012 15:17:59 UTC+7, John W. wrote: >> >> I know it's weird to reply to myself, but just in case that

Re: Modifying a field in another model

2013-05-01 Thread Siddharth Ghumre
Hi, Though its not the perfect solution for your query, please refer the link for ModelAdmin to include conditional formatting in admin interface. https://docs.djangoproject.com/en/dev/ref/contrib/admin/ -Siddharth On Mon, Apr 22, 2013 at 10:35 PM, Vittorio wrote: > My

Re: How to create a temporary table in Django use ORM

2013-05-01 Thread Siddharth Ghumre
Hi If you are interested in using multiple order by in django's ORM then use TABLE.objects.order_by('column_A','column_B') On Tue, Apr 23, 2013 at 11:18 AM, teddy wang wrote: > CREATE TEMPORARY TABLE TEMP (SELECT * FROM TABLE ORDER BY COLUMN_A); > SELECT * FROM TEMP

Re: ManyToMany relationship and raw sql queries

2013-05-01 Thread Siddharth Ghumre
Hi , Did you try python psycopg2. A simple deomostration. Ex:- import psycopg2 conn=psycopg2.connect("dbname='xxx' user='xxx' host='localhost' password='xxx'") cur = conn.cursor() query="""SELECT * FROM bookmarkmanager_bookmark b ' 'LEFT JOIN bookmarkmanager_bookmark_tags bt

Re: Admin shows all users as staff and super user

2013-05-01 Thread Siddharth Ghumre
Hi, I could not replicate your error here. I am also adding users via admin interface and the "Staff status" and "Superuser status" are unchecked by default. I am running django 1.4 on ubuntu 12.04 with postgresql. Can you just try switching to postgresql and see. -Siddharth On Wed, May 1,

Re: Admin shows all users as staff and super user

2013-05-01 Thread Thomas De Reyck
Hi Siddharth, Thanks for your reply. I only create/delete/manage users via the admin itself, so there is no code to show you I guess. Furthermore, the auth table displays the correct values when queried directly. Kind regards, Thomas Op woensdag 1 mei 2013 10:48:10 UTC+2 schreef

Re: Admin shows all users as staff and super user

2013-05-01 Thread Siddharth Ghumre
Hi Thomas, Can you paste the code snippet where you add the user in your auth table (not the admin). It might help in understanding the problem. -Siddharth On Tue, Apr 30, 2013 at 11:45 PM, Thomas De Reyck < thomas%dereyck...@gtempaccount.com> wrote: > Hi everyone, > > My very first question

[Announce] Django Graphos - Django charting made *really* easy

2013-05-01 Thread Shabda Raaj
Hello, I would like to announce Django Graphos - An app which makes it really easy to work with Django graphs. https://github.com/agiliq/django-graphos Graphos is a Django app to plot data into graph. ### Supported Backends: * Python Nested lists * CSV Files * MongoDB * Django ORM ###