Re: Complete book

2019-10-21 Thread Om Anirudh
Thank you for sharing. On Saturday, 19 October 2019 19:40:14 UTC+5:30, ISAAC NELSON S.B. KARGBO wrote: > > Try this one out > > On Sat, Oct 19, 2019, 13:47 Md Nayem Tushar > wrote: > >> Have any easy and properly complete book in django? pls ans me >> >> -- >> You received this message because

django modelforms unable to validate fields and save data entered by users into database

2019-10-21 Thread Gourab Mahapatra
Error i get : Traceback: File "C:\Users\Admin\PycharmProjects\autotask\AutoTaskVenv\lib\site-packages\django\core\handlers\exception.py" in inner 34. response = get_response(request) File "C:\Users\Admin\PycharmProjects\autotask\AutoTaskVenv\lib\site-packages\django\core\handle

unable to validate and save modelform data into mysql database...

2019-10-21 Thread Gourab Mahapatra
Traceback: File "C:\Users\Admin\PycharmProjects\autotask\AutoTaskVenv\lib\site-packages\django\core\handlers\exception.py" in inner 34. response = get_response(request) File "C:\Users\Admin\PycharmProjects\autotask\AutoTaskVenv\lib\site-packages\django\core\handlers\base.py" i

Re: Complete book

2019-10-21 Thread neeta kashyap
Thank you so much for shaing this book. I Really appreciate it. Thanks Dr. Neeta On Sun, Oct 20, 2019 at 9:48 PM V S V Narsimha Murthy wrote: > > Thanks a lot for shaing the book. Really appreciate it. > > Best Regards, > > On Sat, Oct 19, 2019 at 7:36 PM ISAAC NELSON S.B. KARGBO < > insbkar...

DRF UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6

2019-10-21 Thread Kerstin Rohm
Dear Django Community, we have a curious encoding error and we are running out of ideas to solve the problem. We build a Django REST Service with the following packages: dj-database-url 0.5.0 Django 2.2.1 django-filter 2.1.0 django-oauth-toolkit 1.2.0 django-widget-tweaks 1.4.3 dja

Re: taggit in Django CBV

2019-10-21 Thread Om Anirudh
https://stackoverflow.com/questions/50219785/converting-codes-from-fbv-to-cbv-in-django-views does it help? On Monday, 21 October 2019 05:07:11 UTC+5:30, mohamed khaled wrote: > > > > views.py > from django.shortcuts import render, get_object_or_404 > from .models import Post > from django.views.

My first django app error: FATAL: password authentication failed for user "postgres"

2019-10-21 Thread Eduardo Hidalgo GarcĂ­a
Hi Guys, Is my first time working with django, I am following youtubes' tutorial from telusko. However I am having troubles, my computer has the following OS: Ubuntu 18.04.3 LTS. I am running docker images for the postgres and pgAdmin tools, I set up my password in the docker-compose.yml file and

apache on windows

2019-10-21 Thread Luca Bertolotti
Hello I need to run my project in windows with apache. I have installed apache and it's running because when i browse to 127.0.0.1:5000 i get "It works!", i change the default port to 5000 because on windows you have IIS working on port 80 this are my file I write only what i have change from

Not able to work around with some iexact queries with Mongo Backend.

2019-10-21 Thread Sajjan K
Hi Everyone, I have mongo db in backend. Below is the question details Model class Test(models.Model): name = models.CharField(max_length=100) Now I have saved an object with* name='"Random (4) done".* Now If I am making a query: Test.objects.filter(name__exact="Random (4) done") In t

Re: unable to validate and save modelform data into mysql database...

2019-10-21 Thread lemme smash
it's quite expected behavior. if you want to check if job exists, you better use Job.objects.filter(name=job_name).exists() On Monday, October 21, 2019 at 3:49:01 PM UTC+3, Gourab Mahapatra wrote: > > Traceback: > > File > "C:\Users\Admin\PycharmProjects\autotask\AutoTaskVenv\lib\site-packages\d

Re: Bug or Feature: Trailing Slash appended to two places in a URL

2019-10-21 Thread lemme smash
i'm not sure, but i can say that it's quite strange not to have trailing slash on `include` path. you want to have something like `api/v1case`? On Sunday, October 20, 2019 at 1:07:48 AM UTC+3, Conor wrote: > > Hi All, > > I'm not sure whether this is a feature or a bug, so I thought it best to >

Re: Bug or Feature: Trailing Slash appended to two places in a URL

2019-10-21 Thread Conor
I want the url to be /api/v1/case. I have no problem building that URL, it's just that due to a config error on my behalf that I discovered this unusual behaviour. Two things strike me as particular strange. The first thing is the difference between how the URL is rendered depending on whether

how to set up a calculated field in Django?

2019-10-21 Thread Eileen Bauer
Hi, i have the following items in my model: mother_alive = models.IntegerField(choices=YES_NO_CHOICES, blank=True, null=True, default=1) father_alive = models.IntegerField(choices=YES_NO_CHOICES, blank=True, null=True, default=1) and I'd like to set up a generated field for them so I'd b

[Django] How to retrieve the saved password in raw format

2019-10-21 Thread Dilipkumar Noone
Dear Django group, In one of my View i need UserName & Password details in raw format but Django uses *PBKDF2* algorithm to store the password. I would like to know how to retrieve the saved password from Authentication Form. Using these Username and pas

[Django] How to deploy django app having Chrome Driver dependency

2019-10-21 Thread Dilipkumar Noone
hi, One of my Django application has chrome driver dependency to perform automation on some other website. Initially during development phase, i kept the chrome driver in my local path. Ex: C:\Python3.6.0\MyScripts\seleniumwebdriver\chromedriver.exe As all users can't use the same path please

Re: [Django] How to retrieve the saved password in raw format

2019-10-21 Thread Alex Heyden
Password tables should never be human-readable. Never ever. No exceptions. If the intent is to power automation, store that password where the test agent can read it. If you don't know the password, reset it, then save it. Don't expect your web server to leak a password, though. Not even if you as

Add filter to admin add page?

2019-10-21 Thread Wil Moskal
I have a model registered to the admin page, AuthUserFilePermissions, which consists of 2 foreign keys, a key to the defined groups, and a key to the filepatterns. Within the add AuthUserFilePermissions, there is a select for each. For the group this is fine, as there is only like 7-8. for the f

browse folder in django

2019-10-21 Thread Mhamed Belfortas
hi i have created django app (v2.2.2 and python 3.7.2) i would to create button wich launch page expose content folder file xls and pdf with editor and not permit to download file please can any one help me thanks -- You received this message because you are subscribed to the Google Groups "Dj

Re: AttributeError: cffi library '_constant_time' has no function, constant or global variable named '__spec__'

2019-10-21 Thread Jorge Gimeno
Searches to both of your error messages suggested a mismatch in .so objects. I would uninstall and reinstall Django and see if that helps. -Jorge On Sun, Oct 20, 2019 at 7:59 AM 'Abhishek Sharma' via Django users < django-users@googlegroups.com> wrote: > During handling of the above exception,

Re: [Django] How to retrieve the saved password in raw format

2019-10-21 Thread John Bagiliko
It is so wrong to want to read the users 's password. I think this should not be done. On Mon, Oct 21, 2019, 7:20 PM Alex Heyden wrote: > Password tables should never be human-readable. Never ever. No exceptions. > > If the intent is to power automation, store that password where the test > agen

app urls

2019-10-21 Thread Md Nayem Tushar
how to add many html file in app urls without edit project urls? pls ans me -- 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

Re: app urls

2019-10-21 Thread Jorge Gimeno
Hello, With the information we have here it's very difficult to suggest anything. I assume this is a web project. Are you using a framework? Which one? How do you render the html pages? What have you tried so far? All questions which will help us help you. -Jorge On Mon, Oct 21, 2019 at 6:47 PM

Re: unable to validate and save modelform data into mysql database...

2019-10-21 Thread Gourab Mahapatra
sir/madam, when I replace the particular statement with the one which you have adviced me to use. then, this gives me an error something like: Exception Type: NameError Exception Value: name 'job_name' is not defined please help me in fixing this issue Thanks & Regards Gourab Mahapatra

display folder content in web without download permission

2019-10-21 Thread Mhamed Belfortas
hi i have django 2.2 app with pyth3.7.2 i want to make button display folder (as parameter) and editor (if possible) but dont permit to download files xls and pdf please i need it thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsu

Re: unable to validate and save modelform data into mysql database...

2019-10-21 Thread Gourab Mahapatra
and also I tried to use statements as shown in the attached file. But still I get an error like the above thread: Exception Type: NameError Exception Value: name 'job_name' is not defined On Monday, 21 October 2019 20:38:13 UTC+5:30, lemme smash wrote: > > it's quite expected behavior. if yo

Re: unable to validate and save modelform data into mysql database...

2019-10-21 Thread Gourab Mahapatra
and now this error shows, something related to the job instance, i don't know but if you want then i can share with you my models.py file code and views.py file code please help me in this regard, I am stuck here since 2 weeks. I have attached the screenshot of the error please find attached ..

Re: unable to validate and save modelform data into mysql database...

2019-10-21 Thread Gourab Mahapatra
On Tuesday, 22 October 2019 11:33:23 UTC+5:30, Gourab Mahapatra wrote: > > and now this error shows, something related to the job instance, i don't > know but if you want then i can share with you my models.py file code and > views.py file code > please help me in this regard, > I am stuck here