Re: settings.py TEMPLATES DIRS

2015-08-01 Thread James Schneider
You're missing a closing ) after 'templates'... -James On Jul 31, 2015 11:59 PM, "Gary Roach" wrote: > Hi > > I'm using Django 1.8 and python 2-7 on a Debian Linux system. I am using > Ninja-ide as my ide. When I enter the following in the TEMPLATES section > the settings.py file I get an invali

Re: DB Design question

2015-08-01 Thread Stephen J. Butler
Why not use a BigIntegerField? On Sat, Aug 1, 2015 at 12:06 AM, jordi collell wrote: > Hi all! > > I have to store spreadsheet info on a db. Some kind of quotes where the > user can store distinct prices for every zone. > > After modeling the data, i have a Cell like row. (related to a zone, and

Re: DB Design question

2015-08-01 Thread James Schneider
If you are talking about potentially having enough rows to extend past the AutoPK limits, you should consider instead using a UUID field as the PK: https://docs.djangoproject.com/en/1.8/ref/models/fields/#uuidfield The example in the docs uses UUID4. They index nicely and there are 2^128 (~3.4 x

Speedy Mail Software

2015-08-01 Thread Uri Even-Chen
To Django users, I'm interested in creating a new webmail platform based on Python and Django (with jQuery and JavaScript), which will be free software & open source - Speedy Mail Software. I created a project called Speedy Mail Software on

Speedy Mail Software

2015-08-01 Thread Abdulhakim Haliru
Interesting. I have once contemplated building a webmail software that reads emails so customers don't lose emails upon switching webhosts. Hence, your Speedy Mail Software interests me. I'd love to be a part of the team. Great idea it's. Regards. Abdulhakim -- You received this message beca

Re: DB Design question

2015-08-01 Thread Javier Guerra Giraldez
On Sat, Aug 1, 2015 at 4:53 AM, James Schneider wrote: > If you are talking about potentially having enough rows to extend past the > AutoPK limits, you should consider instead using a UUID field as the PK: note that this is only good advice if your DB handles it natively. if not, Django will us

Re: settings.py TEMPLATES DIRS

2015-08-01 Thread Gary Roach
Thank you very much. I looked at that code for hours and didn't see the missing ) . A different set of eyes are really helpful. Gary R On Friday, July 31, 2015 at 11:59:38 PM UTC-7, Gary Roach wrote: > > Hi > > I'm using Django 1.8 and python 2-7 on a Debian Linux system. I am using > Ninja-ide

Newbie: Saving User and UserProfle from same template

2015-08-01 Thread sarfaraz ahmed
Hello Team, I have extending the user with userprofile. I want to change first_name, last_name and sex from userprofile using one template. I have defined form and models. Please hellp this is code for edit_user view, model for user profile and model forms code

Re: Speedy Mail Software

2015-08-01 Thread Avraham Serour
my first contribution is: don't use sourceforge, use anything else On Sat, Aug 1, 2015 at 4:20 PM, Abdulhakim Haliru wrote: > Interesting. I have once contemplated building a webmail software that > reads emails so customers don't lose emails upon switching webhosts. Hence, > your Speedy Mail So

Question about squashing django migrations

2015-08-01 Thread Richard Brockie
Hi everyone, Can someone please explain the implications of this note about squashing migrations in the documentation? From: https://docs.djangoproject.com/en/1.7/topics/migrations/ "Once you’ve squashed a migration, you should not then re-squash that > squashed migration until you have fully

Re: Newbie: Saving User and UserProfle from same template

2015-08-01 Thread sarfaraz ahmed
Changed the edit_user to following. it works fine except... newly added field date_of_birth does not load data. Please take a look at link below http://pastebin.com/nXpiLMJp Regards, Sarfar