RE: How django's migration system works?

2021-03-16 Thread Mike Dewhirst
There is a dependency line at the beginning of every migration which requires an earlier migration to have been executed.If you name your migration files alphanumerically in the sequence you want them to run AND the dependencies all line up AND the django_migrations table does not indicate your

How django's migration system works?

2021-03-16 Thread Douglas Silva
I have two apps in my project: *transitions* and *maintenance*. One to deal with data insertions and another to deal with models. This is the current structure and cannot be changed. I would like to know how do I run all transitions migrations first and then maintenance ones. -- You received

Django reverse lookup fails during unit testing

2021-03-16 Thread Derek
Hi When I open the Django shell (python manage.py shell) and test a reverse URL: >>> from django.urls import reverse >>> reverse('admin:locales_site_changelist') '/admin/locales/site/' then it works as expected. However, when I try and use the same lookup string via a unit test: from django.te

Re: Please I am developing an E- voting system but I want the admin to register the voters using CSV file and a random passwords will be sent to their emails, to aid them login

2021-03-16 Thread Kasper Laudrup
Start out by learning how to write an email. The subject should contain the subject of the email with more details in the body. It has to know what you're really asking for here and if you even have a question. Kind regards, Kasper Laudrup -- You received this message because you are subscrib

Re: Django Tutorial Part 3 Error for Django 3.1

2021-03-16 Thread Saad Olamilekan
Check your files, your app files may not in the right directory On Tue, Mar 16, 2021, 3:46 PM Kelvin Sajere Simply because you haven't specified that URL path in your project, so it > would naturally not be able to find it. The path I see from your error > image, is the /admin/ path. > > On Tue,

Re: Okta Djnago integration

2021-03-16 Thread o1bigtenor
On Tue, Mar 16, 2021 at 8:48 AM Chandrashekhar Singh wrote: > > Hello guys, > > I am looking for someone who could help me to integrate djnago with okta. > > Python version 2.7 and djnago is 1.8 > You're NOT going to get any love if you're insisting on running Python 2.7! EOL for Python 2.x happ

Re: Model inheritance with optional self reference

2021-03-16 Thread wongX Ndeso
Just facing the same problem with you bro, and i ended up with proxy model and using django-treebeard for the data hierarchy... On Thu, 11 Mar 2021 at 17.47 Kunal Solanke wrote: > Btw parts should be a m2m field ig. > > On Thu, Mar 11, 2021, 16:14 Kunal Solanke > wrote: > >> That's too hard of

Re: Django Tutorial Part 3 Error for Django 3.1

2021-03-16 Thread Kelvin Sajere
Simply because you haven't specified that URL path in your project, so it would naturally not be able to find it. The path I see from your error image, is the /admin/ path. On Tue, Mar 16, 2021 at 10:02 Joel Goldstick wrote: > > > On Tue, Mar 16, 2021 at 9:11 AM Ronnie Atuhaire > wrote: > >> He

Re: Django Tutorial Part 3 Error for Django 3.1

2021-03-16 Thread Joel Goldstick
On Tue, Mar 16, 2021 at 9:11 AM Ronnie Atuhaire wrote: > Hello everyone, I joined this platform like a week ago not because I am > experienced but because I am new to Django and would like to connect with > like minded people. > > I have experienced an HTTP404 Error while following this tutorial

Re: Please I am developing an E- voting system but I want the admin to register the voters using CSV file and a random passwords will be sent to their emails, to aid them login

2021-03-16 Thread Philip Mutua
Where is the code snippet so that I might help ? On Tue, 16 Mar 2021, 16:11 Ageboba Alexander, wrote: > -- > 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 dj

Okta Djnago integration

2021-03-16 Thread Chandrashekhar Singh
Hello guys, I am looking for someone who could help me to integrate djnago with okta. Python version 2.7 and djnago is 1.8 Please let me know Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop r

Re: Please I am developing an E- voting system but I want the admin to register the voters using CSV file and a random passwords will be sent to their emails, to aid them login

2021-03-16 Thread Next Marley
add me on github let me help you https://github.com/Divmarley On Tue, 16 Mar 2021 at 13:11, Ageboba Alexander wrote: > -- > 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

Please I am developing an E- voting system but I want the admin to register the voters using CSV file and a random passwords will be sent to their emails, to aid them login

2021-03-16 Thread Ageboba Alexander
-- 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 view this discussion on the web visit https://groups.google.com/d

django admin

2021-03-16 Thread sm khosravi
hi im using djnago panel admin but i have an issue. i run normally my project on my laptop, buti have some problems when i create a new in panel admin. and i see this error for one field: Select a valid choice. That choice is not one of the available choices. but when i run it in debug mode and p

Page Not Found 404

2021-03-16 Thread Tracy Nungo
[image: Screenshot 2021-03-16 at 11.17.35.png] Im getting started with the portfolio guide project and I can't seem to get rid of this error. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving ema

Django Tutorial Part 3 Error for Django 3.1

2021-03-16 Thread Ronnie Atuhaire
Hello everyone, I joined this platform like a week ago not because I am experienced but because I am new to Django and would like to connect with like minded people. I have experienced an HTTP404 Error while following this tutorial at *https://docs.djangoproject.com/en/3.1/intro/tutorial03/

TypeError: filename must be a str or bytes object, or a file

2021-03-16 Thread Mira
Hi All, I need some help. My Django 3.1.4 on debian Linux with Python 3.6 is not behaving properly. Seems there is some issue with few of the packages. Issue is same, trying to replicate from all three way to show so that I could get some help. Here are some of the observations, need your help 1.