Survey About Package Requirements Management

2016-10-18 Thread Robert Roskam
Hey all, To clarify my title quickly, this survey is not about replacing pip, as yarn (https://github.com/yarnpkg/yarn) did recently with npm. This is about helping you throughout the lifespan of projects you maintain keep a handle on the dependencies it has. Where I work, we've already made

Re: Django and uuid with PostgreSQL

2016-10-18 Thread Tim Graham
The SQL looks correct -- it's not using anything Python related. Are you encountering some error? On Tuesday, October 18, 2016 at 9:15:46 AM UTC-4, Andrea Posi wrote: > > I'm creating a rest api using Django and DRF. I don't want to expose IDs > directly to clients so I'm trying to setup my

Re: Migrations for multiple Django versions

2016-10-18 Thread Tim Graham
Assuming the problem is makemigrations generating different migrations based on the Django version, conditionally adding operations in migrations with some django.VERSION checks may help. On Tuesday, October 18, 2016 at 7:12:02 AM UTC-4, Vlastimil Zíma wrote: > > Hi everyone, > > we are trying

Re: Tutorial part 3 help: bulleted-list

2016-10-18 Thread Johnny McClung
Thanks so much everyone. I looked over those files many times and I couldn't see it. On Tuesday, October 18, 2016 at 5:17:55 PM UTC-4, James Schneider wrote: > > > > On Tue, Oct 18, 2016 at 11:00 AM, Johnny McClung > wrote: > >> I have gotten down to the part where the

Re: Tutorial part 3 help: bulleted-list

2016-10-18 Thread James Schneider
On Tue, Oct 18, 2016 at 11:00 AM, Johnny McClung wrote: > I have gotten down to the part where the tutorial reads "Load the page by > pointing your browser at “/polls/”, and you should see a bulleted-list > containing the “What’s up” question from Tutorial 2. The link points

Re: Compiling/packing Django to one binary

2016-10-18 Thread Asad Jibran Ahmed
Hi, While I haven't personally dealt with such a situation with my Django code, I have worked with people who had this issue (un-deterministic production servers). They used Docker to solve this issue. Essentially you're looking for deterministic deploys, and Docker is the first thing that jumps

Compiling/packing Django to one binary

2016-10-18 Thread Александр Христюхин
Hi! I would like to ask community about methods of shipping Django in production. I do have some limitations, one of which is I don't know what packages are installed on production server (for example, postgres dev libraries or specific version of python). Right now my method is to

Re: Tutorial part 3 help: bulleted-list

2016-10-18 Thread Vineet Kothari
NYC On Oct 19, 2016 12:57 AM, "Vijay Khemlani" wrote: > You wrote "latest_quesion_list" in the context dictionary key, it should > be "latest_question_list" > > On Tue, Oct 18, 2016 at 3:00 PM, Johnny McClung > wrote: > >> I have gotten down to the part

Re: Tutorial part 3 help: bulleted-list

2016-10-18 Thread Vijay Khemlani
You wrote "latest_quesion_list" in the context dictionary key, it should be "latest_question_list" On Tue, Oct 18, 2016 at 3:00 PM, Johnny McClung wrote: > I have gotten down to the part where the tutorial reads "Load the page by > pointing your browser at “/polls/”, and

Tutorial part 3 help: bulleted-list

2016-10-18 Thread Johnny McClung
I have gotten down to the part where the tutorial reads "Load the page by pointing your browser at “/polls/”, and you should see a bulleted-list containing the “What’s up” question from Tutorial 2. The link points to the question’s detail page." I do not see a bulleted-list. All I see is "No

Re: Slow first request django

2016-10-18 Thread 'Tom Evans' via Django users
On Fri, Oct 14, 2016 at 5:15 AM, Avraham Serour wrote: > I will take a wild guess here and say that this is a modwsgi problem, it > seems it will only load the django app after the first request. Indeed, see this SO post for how to tell it to load your app immediately on start

Form input: "unlimited list," what does the backend look like?

2016-10-18 Thread Andrew Emory
I want to get user data where is use a ChoiceSelect field. And if the user selects an option another one pops up giving them the same choices again. I understand that I would do this with JavaScript on the front end. But, it is unclear to me what kind of architecture and model fields I should

Django and uuid with PostgreSQL

2016-10-18 Thread Andrea Posi
I'm creating a rest api using Django and DRF. I don't want to expose IDs directly to clients so I'm trying to setup my models like this example: class AbstractGuidModel(models.Model): uuid = models.UUIDField(blank=True, default=uuid.uuid4, unique=True, editable=False) class Meta:

Migrations for multiple Django versions

2016-10-18 Thread Vlastimil Zíma
Hi everyone, we are trying in our application to support multiple Django versions, specifically 1.7 to 1.9. But we encountered a problem with `User.last_login` field. We use custom User model based on `AbstractBaseUser` as specified by the documentation. Everything was fine in Django 1.7, but