pytz.all_timezones returns empty list

2014-02-02 Thread Pradeep Kumar
Tried installing package via pip then from source still the problem exists. Application throws UnknownTimeZoneError wherever my timezone operations on code exist. UnAnswered stack overflow question here

Re: djorm-ext-pgjson field value returned by queryset as string not dict

2014-02-02 Thread Bulat Shaf
Hello, again! I've fixed this! Problem cause was really simple: on my server machine I had psycopg2 older version installed in global site-packages, and current version throw buildout in my project deps, but it used older version by default. Problem has gone after removing global library.

Re: djangopackages certificate

2014-02-02 Thread Russell Keith-Magee
On Mon, Feb 3, 2014 at 12:49 PM, Mike Dewhirst wrote: > Just visited https://www.djangopackages.com/ and got a "certificate > expired" warning. Hi Mike, Danny tweeted about this problem this morning; apparently the certificate was autorenewed, but they missed the

Customize Admin Advice

2014-02-02 Thread brian
I'm hoping to get advice about customizing the admin. I have a series of filters I need to run and then I want the ability to loop though this list. I'm thinking of starting with a form where I can select the filter options. I want a next/previous buttons when I'm looping. How would I

djangopackages certificate

2014-02-02 Thread Mike Dewhirst
Just visited https://www.djangopackages.com/ and got a "certificate expired" warning. Mike -- 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: Custom User

2014-02-02 Thread Henrique Oliveira
Many thanks Russell, it really make sense. Cheers -Henrique On Sunday, February 2, 2014 8:58:59 PM UTC-2, Russell Keith-Magee wrote: > > Hi Henrique, > > Think of it this way: you have a site, and each person visiting your site, > regardless of whether they're an admin or a member, will have a

Re: Custom User

2014-02-02 Thread Russell Keith-Magee
Hi Henrique, Think of it this way: you have a site, and each person visiting your site, regardless of whether they're an admin or a member, will have a username, password, and a name. This common information is what you put in your user model. That way, everyone who visits your site and has an

Re: Regarding Django job market here in Perth

2014-02-02 Thread Russell Keith-Magee
Calvin cross-posted this to the Perth Django Users Group mailing list (Perth, Western Australia, that is). I responded on that list, but I'm repeating the answer here for the benefit of the django-users archives. On Sun, Feb 2, 2014 at 8:11 PM, Calvin Chen wrote: > Hi

Memory leak in 1.6.1

2014-02-02 Thread tiff
G'day, Since upgrading from 1.4 to 1.6.1 my app is consuming memory rather rapidly. I have this issue on both my live Ubuntu 64bit server (python 2.7.5+, django 1.6.1) and on my development Windows 7 32bit (python 2.7.3, django 1.6.1) After some diagnosis I have created a minimal test app that

Re: Custom User

2014-02-02 Thread Timothy W. Cook
Even if you user an alternate USER_MODEL should not put non-user specific things there. See https://django-authtools.readthedocs.org/en/latest/intro.html#but-it-s-supposed-to-be-a-custom-user-model and the referenced links. On Sun, Feb 2, 2014 at 6:18 PM, Henrique Oliveira <

Re: Back button in a SessionWizardView

2014-02-02 Thread César García Tapia
Hi, Ahmed. Your suggestion makes sense, but I think that, being called *Session*WizardView, it's very likely that this information is already stored in the session data. The question is how could I "redraw" a concrete step, filled with the data previously entered by the user. I'm sure it's

Re: Custom User

2014-02-02 Thread Henrique Oliveira
Hi Timothy, I see it have officially deprecated the use of user profiles attached to the default user in favor of custom user models. One thing I have noticed in Django 1.6, only one AUTH_USER_MODEL can be used. Any ideas how to deal with this? On Sunday, February 2, 2014 4:26:44 PM UTC-2,

Re: Argument passing between views

2014-02-02 Thread Daniel Roseman
On Sunday, 2 February 2014 09:11:32 UTC, SAHIL SHEKHAWAT wrote: > > I have a variable generated in a view and i want to pass it as an > argument to another view. > Both views have their urls so, i can't use GET request. > I want to create invisible fields and pass it using POST request. > Also,

Re: Argument passing between views

2014-02-02 Thread Bill Freeman
Read up on the session object. On Sun, Feb 2, 2014 at 4:11 AM, SAHIL SHEKHAWAT wrote: > I have a variable generated in a view and i want to pass it as an > argument to another view. > Both views have their urls so, i can't use GET request. > I want to create

Re: Custom User

2014-02-02 Thread Timothy W. Cook
I suggest, and I believe it is considered best practice by others. To create a profile model for your members with a one to one relationship to the user. Basically you do not want anything in the user model that doesn't apply to all users. On Sun, Feb 2, 2014 at 3:27 PM, Henrique Oliveira <

Custom User

2014-02-02 Thread Henrique Oliveira
Hi guys, I am building a gambling website thas has 2 types of users: Admin user: An user that manage that manages the website, it is a staff user(As already is done in Django), this user cannot register by yourself. Member user: It is an user that interact with the website, it has an account,

Back button in a SessionWizardView

2014-02-02 Thread Asad Jibran Ahmed
We had a similar requirement in one of our products. We solved it by assigning the user a unique transaction id when they start the process, and saving all data in a temp db (redis) until the user completed the process. And whenever the user accessed a page with the transaction id in the get

Argument passing between views

2014-02-02 Thread SAHIL SHEKHAWAT
I have a variable generated in a view and i want to pass it as an argument to another view. Both views have their urls so, i can't use GET request. I want to create invisible fields and pass it using POST request. Also, i am using this on google app engine so i want to avoid using databases can

Regarding Django job market here in Perth

2014-02-02 Thread Calvin Chen
Hi Guys, Sorry to be bothersome. Do you guys happen to know any local company (based in Perth) that actually uses Python/Django technology? I have visited all of the major job websites and a few other Django-specific job websites like djangojobs.net and djangogigs.com. But I only find one or

Re: Problems Sending Email From Django SIte

2014-02-02 Thread m1chael
good catch, Matt! On Sat, Feb 1, 2014 at 8:04 PM, Mark Phillips wrote: > Matt, > > That fixed it! Now, I get error messages as expected. > > Thanks so much for finding my missing comma!! > > Mark > > > On Sat, Feb 1, 2014 at 5:15 PM, Matt Schinckel