Re: Big Problem After Going Live: NoReverseMatch at /login/ Reverse for 'password_reset' not found. 'password_reset' is not a valid view function or pattern name

2020-01-31 Thread Dave Ko
git: https://github.com/koloyyee/roasitas.git link to the repository: https://github.com/koloyyee/roasitas please have a look at the files, it is quite frustrating because everything works okay at development level, and at product level it just break Thanks again Jorge! On Saturday, February

Re: Big Problem After Going Live: NoReverseMatch at /login/ Reverse for 'password_reset' not found. 'password_reset' is not a valid view function or pattern name

2020-01-31 Thread Dave Ko
Hi Jorge, I have changed to it "password_reset" from "password-reset" But what i type www.roastias/password_reset/ it shows no url, but i have checked my folders so the templates/users/password_reset.html and reset of the password related urls in the folder but not on the error page On

Re: Big Problem After Going Live: NoReverseMatch at /login/ Reverse for 'password_reset' not found. 'password_reset' is not a valid view function or pattern name

2020-01-31 Thread Jorge Gimeno
I apologize to the list for posting all the emails to everyone. I'll keep this going off list. -Jorge On Fri, Jan 31, 2020 at 10:09 PM Jorge Gimeno wrote: > What I believe is going on is that Django is looking for the password > reset view at password_reset, and that url path doesn't exist

Re: Big Problem After Going Live: NoReverseMatch at /login/ Reverse for 'password_reset' not found. 'password_reset' is not a valid view function or pattern name

2020-01-31 Thread Jorge Gimeno
What I believe is going on is that Django is looking for the password reset view at password_reset, and that url path doesn't exist anywhere in urls.py. I see a path named "password-reset", which won't match. Let's try to rename that url conf to password_reset, and leave the rest unchanged.

Re: Big Problem After Going Live: NoReverseMatch at /login/ Reverse for 'password_reset' not found. 'password_reset' is not a valid view function or pattern name

2020-01-31 Thread Dave Ko
LOGIN_REDIRECT_URL = 'news:all_news' all_news is the first page of the website On Saturday, February 1, 2020 at 1:16:53 PM UTC+8, jlgimeno71 wrote: > > > > On Fri, Jan 31, 2020 at 8:33 PM Dave Ko > > wrote: > >> I also have some trouble with using signal, which works perfectly fine >> on

Re: Big Problem After Going Live: NoReverseMatch at /login/ Reverse for 'password_reset' not found. 'password_reset' is not a valid view function or pattern name

2020-01-31 Thread Dave Ko
LOGIN_REDIRECT_URL = 'news:all_news' On Saturday, February 1, 2020 at 12:20:29 PM UTC+8, jlgimeno71 wrote: > > > On Fri, Jan 31, 2020 at 5:35 PM Dave Ko > > wrote: > >> Hi everyone, >> >> I am pretty new to django programming, I was following a tutorial and try >> to set up a blog, >>

Re: Big Problem After Going Live: NoReverseMatch at /login/ Reverse for 'password_reset' not found. 'password_reset' is not a valid view function or pattern name

2020-01-31 Thread Jorge Gimeno
On Fri, Jan 31, 2020 at 8:33 PM Dave Ko wrote: > I also have some trouble with using signal, which works perfectly fine on > localhost but not deployed > > > On Saturday, February 1, 2020 at 12:20:29 PM UTC+8, jlgimeno71 wrote: >> >> >> On Fri, Jan 31, 2020 at 5:35 PM Dave Ko wrote: >> >>> Hi

Re: Big Problem After Going Live: NoReverseMatch at /login/ Reverse for 'password_reset' not found. 'password_reset' is not a valid view function or pattern name

2020-01-31 Thread Dave Ko
I also have some trouble with using signal, which works perfectly fine on localhost but not deployed On Saturday, February 1, 2020 at 12:20:29 PM UTC+8, jlgimeno71 wrote: > > > On Fri, Jan 31, 2020 at 5:35 PM Dave Ko > > wrote: > >> Hi everyone, >> >> I am pretty new to django programming, I

Re: how h can use DICOM files through Django app?

2020-01-31 Thread Jorge Gimeno
Django forms do support file uploads. The FileField form field documentation is here: https://docs.djangoproject.com/en/3.0/ref/forms/fields/#filefield -Jorge On Fri, Jan 31, 2020 at 5:35 PM Abdullah Shaker < abdullah.shaker2...@gmail.com> wrote: > i am tring to make a form through Django. >

Re: Can't find image files

2020-01-31 Thread maninder singh Kumar
When you load files to static, it loads to a common static location. That is the way you would want it to be. Recommended read django docs. regs On Friday, January 31, 2020 at 8:39:23 PM UTC+5:30, Dick Arnold wrote: > > Didn't stay working for long. Needed one more change. > > the src also

how h can use DICOM files through Django app?

2020-01-31 Thread Abdullah Shaker
i am tring to make a form through Django. how can i use DICOM file ? i have a form and i want to upload DICOM file but Django does not support file field in form so how can i use DICOM ? is there is a way or library ? -- You received this message because you are subscribed to the Google Groups

Re: How to best secure environment variables (secret key, passwords etc.) stored in .yml files?

2020-01-31 Thread Mike Dewhirst
On 1/02/2020 2:24 am, Bill Torcaso wrote: A couple of years ago I posted on this topic to say that using ENV variables is dangerously subject to human error.  If it ever happens that (1) you put a server on the public internet with DEBUG on, and (2) a visitor can provoke a 5xx server error

Re: How to best secure environment variables (secret key, passwords etc.) stored in .yml files?

2020-01-31 Thread Bill Torcaso
A couple of years ago I posted on this topic to say that using ENV variables is dangerously subject to human error. If it ever happens that (1) you put a server on the public internet with DEBUG on, and (2) a visitor can provoke a 5xx server error response, then all of your secrets will be

Re: Can't find image files

2020-01-31 Thread Dick Arnold
Didn't stay working for long. Needed one more change. the src also needs the application folder before the image file name. (contacts is the name of my applications folder.) On Monday, January 27, 2020 at 6:52:06 PM UTC-6, Dick Arnold wrote: > > My nice, new Django application is going

Re: Upgrading django from 1.8 to 2.2.0

2020-01-31 Thread Mike Dewhirst
On 31/01/2020 9:53 pm, Santhosh sridhar wrote: Hi, Im upgrading my django project from 1.8 to 2.2.0. I have done the below changes. 1. Added on_delete to all the Foreign Key fields 2. Changed the url reverse import as from django.urls import reverse 3. Included path/re_path instead of url in

Upgrading django from 1.8 to 2.2.0

2020-01-31 Thread Santhosh sridhar
Hi, Im upgrading my django project from 1.8 to 2.2.0. I have done the below changes. 1. Added on_delete to all the Foreign Key fields 2. Changed the url reverse import as from django.urls import reverse 3. Included path/re_path instead of url in all the app's url files. 4. Changed the