Re: charField null=false not enforced for table creation in oracle

2013-02-22 Thread Skylar Saveland
This is still a good question :) On Thursday, March 11, 2010 5:57:13 AM UTC-8, Wayne wrote: > > Hi Karen, > > Many thanks for your reply. > Now our business requirements do not allow either empty string or null > value for this particular charField column (name = >

Re: Multi Client Django System

2013-02-22 Thread Delcio Torres
Thanks, will check! I'm really struggling to find the best approach. Em sábado, 23 de fevereiro de 2013 00h54min46s UTC-3, Bino Oetomo escreveu: > > Hi Delcio > > On Feb 23, 10:43 am, Delcio Torres wrote: > > Dear Sirs, > > > > Maybe this is a concept question, but

Re: Multi Client Django System

2013-02-22 Thread Bino Oetomo
Hi Delcio On Feb 23, 10:43 am, Delcio Torres wrote: > Dear Sirs, > > Maybe this is a concept question, but here we go. > > I'm doing test development to learn django and using admin for everything. > > This is a Company/Employee/HeathInsurance CRUD system. > > The main

Multi Client Django System

2013-02-22 Thread Delcio Torres
Dear Sirs, Maybe this is a concept question, but here we go. I'm doing test development to learn django and using admin for everything. This is a Company/Employee/HeathInsurance CRUD system. The main ideia is that I want to provide this for different companies and still not allow them to see

strange DatabaseError by ForeignKey

2013-02-22 Thread Bino Oetomo
Dear all I try to make custom form. I got this Database error http://oi45.tinypic.com/29nct4w.jpg It's strange for me, since I didn't request any call to that 'myauth_myuser.company_id' coloumn in my admin.py ( http://pastebin.com/MEUtREtv ). Kindly please give me your enlighment. Sincerely

modifying InlineModelAdmin data before rendering add/edit item page in django admin

2013-02-22 Thread elmosanches
I'm going to prepare multilanguage cms django app and I need to enable in django admin adding and editing entries with content in many languages. My idea is to have a separated record for content in each language and relate it to the entry like in the example: *setting.py* LANGUAGES = (

Re: ask : Make a second-level auth

2013-02-22 Thread Bino Oetomo
Dear Nikolas and all I really appreciate your response. On Feb 23, 2:17 am, Nikolas Stevenson-Molnar wrote: > I don't think it's necessary to duplicate the User model to accomplish > what you want. Instead, you could write a model with the extra data you > need, relate

Re: Easiest Way to Deploy Django?

2013-02-22 Thread Shawn Milochik
To answer the original question, my vote is for nginx + gunicorn. -- 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 django-users+unsubscr...@googlegroups.com. To

Re: ask : Make a second-level auth

2013-02-22 Thread Nikolas Stevenson-Molnar
I don't think it's necessary to duplicate the User model to accomplish what you want. Instead, you could write a model with the extra data you need, relate that to the built-in User model as a one-to-one relationship, and then write a custom auth backend which looks up the user using a field in

Email on dreamhost

2013-02-22 Thread Sammy
Greetings fellow djangonauts My Django app is working nicely on dreamhost.   When I use gmail for code error notifications or send_mail, everything works fine. When I use my dreamhost email, I am able to send emails from my app using send_mail but i no longer receive code error notifications. I

how to use static in development with PyCharm?

2013-02-22 Thread frocco
Hello, I have my static data mapped to: STATIC_ROOT = '/wamp/www/static/' If I hit the app at localhost/app Everything is ok. However when I debug in PyCharm, the static data does not map. My templates use {{ STATIC_URL }}img/ Thank you -- You received this message because you are

Benchmarking and timing DB transactions in Django

2013-02-22 Thread R R
Hi, I was wondering if there are any tools to benchmark DB transactions using the Django ORM. I'm using PostGreSQL with Django 1.4. I'm required to compare and come up with the best possible database design for a project which will have millions of records when it's deployed. I'd love to hear

Re: Easiest Way to Deploy Django?

2013-02-22 Thread Bill Freeman
PostgreSQL used to be tougher to install and configure. No longer true. PostgreSQL used to be significantly slower at some tasks as compared to *SOME* configurations of MySQL, but this gap has pretty well closed, PostgreSQL arguably comes closest to meeting the SQL standard. PostgreSQL is

Re: Easiest Way to Deploy Django?

2013-02-22 Thread Joey Espinosa
Look through the Django documentation and take a shot for every place you see a note telling you that something has a specific quirk with MySQL. You'll be drunk in no time. I'm joking, but I'm really not. -- Joey "JoeLinux" Espinosa* *

Re: Easiest Way to Deploy Django?

2013-02-22 Thread Javier Guerra Giraldez
On Fri, Feb 22, 2013 at 10:48 AM, frocco wrote: > Is PostgreSQL a better solution over MySQL? that's a religion-loaded question but more and more people are seeing the truth :-) -- Javier -- You received this message because you are subscribed to the Google Groups

Re: Easiest Way to Deploy Django?

2013-02-22 Thread frocco
Is PostgreSQL a better solution over MySQL? I too need to learn PostgreSQL. On Thursday, February 21, 2013 7:25:00 PM UTC-5, Russell Keith-Magee wrote: > > > On Fri, Feb 22, 2013 at 5:58 AM, Peter >wrote: > >> I've a new Django user who went through the tutorial and

Q about wizard.form.forms

2013-02-22 Thread Rob Slotboom
Hi, Django’s documentation shows a sample form wizard template. In that template there is a conditional tag: {% if wizard.form.forms %}{% else %} I can’t figure out when this condition will ever by met. Does sombody have a clue? Cheers and happy coding, Rob -- You received this message

Best practices for 1.5 configurable user model and profiles

2013-02-22 Thread Doug
I am curious how people are handling the new 1.5 user model with regard to User Profiles. Is it best to add all profile information to a custom user model? Or keep the user model for authentication information only and create a one-to-on or foreign key to a profile model (similar to the

Re: url pattern correct but not working

2013-02-22 Thread Bill Freeman
OP didn't seem to be using the human readable part. He had a named group for the numeric tail, but not for the rest. Unusual, I agree, but folks are welcome to whatever url desing they want. Bill On Thu, Feb 21, 2013 at 5:15 PM, Arnold Krille wrote: > On Thu, 21 Feb