RE: Fetching next and/or prior objects given an arbitrary ordering

2018-03-16 Thread Matthew Pava
Hi Bernd, Indeed, I did not look closely at what was happening. Definitely add a feature request. I sincerely believe that if we would implement the Subquery object as a CTE, it would resolve these situations without much changing anything else. https://code.djangoproject.com/ticket/28919 Tha

Re: I NEED HELP PLEASE

2018-03-16 Thread Etienne Robillard
Hi Daniella, Next time you want to ask us something, please drop the caps lock key. Etienne Le 2018-03-16 à 11:53, Daniella a écrit : PLEASE I AM NEW TO DJANGO FRAME WORK. PLEASE CAN SOMEONE PUT ME THROUGH ON HOW TO GET STARTED, USING IT TO DEVELOP A WEBSITE AND WEB APPLICATION. THANKS IN AN

Re: I NEED HELP PLEASE

2018-03-16 Thread Babatunde Akinyanmi
Hi Daniella. Welcome to the django ecosystem. As per your question, to get started with django, read the tutorial. https://www.djangoproject.com/start/ On 16 Mar 2018 18:57, "Daniella" wrote: PLEASE I AM NEW TO DJANGO FRAME WORK. PLEASE CAN SOMEONE PUT ME THROUGH ON HOW TO GET STARTED, USING I

Re: I NEED HELP PLEASE

2018-03-16 Thread Dylan Reinhold
https://www.djangoproject.com/start/ On Fri, Mar 16, 2018 at 8:53 AM, Daniella wrote: > PLEASE I AM NEW TO DJANGO FRAME WORK. PLEASE CAN SOMEONE PUT ME THROUGH ON > HOW TO GET STARTED, USING IT TO DEVELOP A WEBSITE AND WEB APPLICATION. > THANKS IN ANTICIPATION > > -- > You received this message

I NEED HELP PLEASE

2018-03-16 Thread Daniella
PLEASE I AM NEW TO DJANGO FRAME WORK. PLEASE CAN SOMEONE PUT ME THROUGH ON HOW TO GET STARTED, USING IT TO DEVELOP A WEBSITE AND WEB APPLICATION. THANKS IN ANTICIPATION -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this g

Re: Question about Getting URL segment into a View

2018-03-16 Thread RisenFenix
Thank You!!! That got me going. I have been working on this for days and you got me going in a few minutes! I can't thank you enough! On Friday, March 16, 2018 at 11:51:28 AM UTC-4, Matthew Pava wrote: > > Use self.kwargs.get(‘gwpk’) > > > https://docs.djangoproject.com/en/2.0/topics/class-

RE: Question about Getting URL segment into a View

2018-03-16 Thread Matthew Pava
Use self.kwargs.get(‘gwpk’) https://docs.djangoproject.com/en/2.0/topics/class-based-views/generic-display/#dynamic-filtering From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of RisenFenix Sent: Friday, March 16, 2018 7:55 AM To: Django users Subject: Question

Suggestions for using a custom pre-login signal to perform custom validation?

2018-03-16 Thread Stodge
I want to add a custom pre-login signal (user_logging_in) that fires just before Django's login function is called. This is a snippet from our custom account app that may explain what I want: from django.contrib.auth import login as real_login def custom_login() # Allow other apps to per

Question about Getting URL segment into a View

2018-03-16 Thread RisenFenix
I am a newby to Django (2.0) and need some assistance, please. I have a list of Grocery Wholesale Vendors in one model and their Contacts in another with one to many join. The Model... from django.conf import settings from django.db import models from django.urls import reverse [...] #Groc

Re: UUIDs eventually choke as primary key

2018-03-16 Thread M. Page-Lieberman
Hi, I've only been using Django for a few weeks really, so I'm not sure how much I can help, but this is concerning for me, and I'd like to help resolve it. Are you able to just include your full models.py file here? I'll run it on my computer and try to debug too. On Thu, Mar 15, 2018 at 5:20 PM

Re: UUIDs eventually choke as primary key

2018-03-16 Thread Ahmed Cheikh
Hi, I think the problem comes from mod_wsgi. I had the same problem when virtualhost listen on multiple ports. Please look at this GH issue https://github.com/GrahamDumpleton/mod_wsgi/issues/206 and try this by https://github.com/GrahamDumpleton/mod_wsgi/issues/206#issuecomment-305019825 by Du

Re: Phone Number Validation

2018-03-16 Thread Carl Brubaker
Guilty as charged! Now that you mention "not", I remember seeing that in a tutorial. As for doing it again, I hate my job and don't have time or resources to quit and go to school, so I'm trying to learn on the fly. I hope to write a program to do my current job, because, so far, the ones I've

dictsort with null values not working with Django 1.11

2018-03-16 Thread Jean-Baptiste Pressac
Hello, I am trying to migrate from Python 2, Django 1.8 to Python 3, Django 1.11 and I have a little problem with dictsort filter whith Null values. The following code was working on *Django 1.8, Python 2* : *Extract from models.py:* class Edition(models.Model): titre = models.CharField(max