how to get user's informations by clic on the user_object in a user_list view

2017-07-28 Thread vitalysweb
I'm beginner in django, what i'm trying to do is: I want to build a view for a *Staff_User*. Inside this view the staff member can select a user (from a *list of users*) and by clic that lets him get some informations(Specifically check some files uploaded by the selected user) some of my co

django.db.utils.IntegrityError: NOT NULL constraint failed: core_profile.user_id

2017-07-06 Thread vitalysweb
i'm trying to build a customised registration to my site, so i'm using a sign Up with Profile Model that inherits from django User class with "OneToOneField" relation . i'm having this ERROR after submit a form that i made to let user complete profile information just after SignUp's email confir

TypeError: expected string or bytes-like object

2017-05-18 Thread vitalysweb
Hello, i have problem in migration, in my* "model.py"* file i added a new table and new fields (into the exisiting table) and thats what i got when i do *""..manage.py migrate..."" :* Operations to perform: Apply all migrations: utilisateur Running migrations: Applying utilisateur.0002_aut

Re: i dont know from where to start my first project on django

2017-05-11 Thread vitalysweb
yess, thank u for the tip ;) Le mercredi 10 mai 2017 00:39:03 UTC+2, Lachlan Musicman a écrit : > > A further tip. Your models might be (doesn't have to be): > > - Drivers > - Cars > - reservations (a Many to Many relationship with extra fields > https://docs.djangoproject.com/en/1.11/topics/

Re: i dont know from where to start my first project on django

2017-05-11 Thread vitalysweb
Thank you very much, I'll start with that! -- 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 post to this group, send

i dont know from where to start my first project on django

2017-05-09 Thread vitalysweb
Hi everyone, My project consists of a web site which allows to manage the reservations of vehicles by customers. These customers are required to work with these vehicles as drivers 35 hours a week *front office* __During registration on the site the user will have to load documents (pdf, jpeg e