Re: Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-27 Thread Khaleel Ahmed H. M. Shariff
Hi Michael May Peace, Blessings & Mercy of Almighty God be on you! do you know how to modify the sys.path to add the directory where the listed modules are installed? On Linux/UNIX Execute the find command to locate the directory where the modules are installed and include the same in the path

Re: multiple database

2020-10-09 Thread Khaleel Ahmed H. M. Shariff
Hi Suhaib, May Peace, Blessings & Mercy of Almighty God be on you! Kindly throw some light on what database you are using. Are you using SQLite (default available with Python) or any other RDBMS like MySQL/Oracle??? Awaiting your reply. Thanks in advance. God Bless You! God Bless India!! --

Re: HELP

2020-10-09 Thread Khaleel Ahmed H. M. Shariff
HI Omar, May Peace, Blessings & Mercy of Almighty God be on you! I hope you are comfortable with Python? If yes, the latest official version of Django is 3.1.2 Kindly execute "*pip install django*" In case you are on windows & it is giving an error *"'pip' is not recognized as an internal or

Re: 'str' object is not callable

2020-09-23 Thread Khaleel Ahmed H. M. Shariff
Hi, May Peace, Blessings & Mercy of Almighty God be on you! The reason for 'str' object is not callable is because you have created a string object & given parenthesis along with it. As is, >>> x="Good Morning" >>> x() Traceback (most recent call last): File "", line 1, in TypeError: 'str'

Re: Django and Pandas

2020-09-10 Thread Khaleel Ahmed H. M. Shariff
Hi Emmanuel, May Peace, Blessings & Mercy of Almighty God be on you! Pandas is only a module in Python. You can import the module the way you import any other module. Kindly let us know what kind of a report you want to display on the webpage. It will give us insights as to what you want. Thanks

Re: unable Integrating Djongo 1.3.1 with django 2.2.10

2020-03-20 Thread Khaleel Ahmed H. M. Shariff
HI Eswar, May Peace, Blessings & Mercy of Almighty God be on you! I should I realized it earlier. It would have saved your time. In Python, we read the last line in the list of errors & do not really care for the earlier errors. Thanks you very much for the update. God Bless You! God Bless

Re: unable Integrating Djongo 1.3.1 with django 2.2.10

2020-03-19 Thread Khaleel Ahmed H. M. Shariff
Hi Eswar, May Peace, Blessings & Mercy of Almighty God be on you! Short answer, your environment is messed up. Now, let us address who or how was it messed up There are many reasons why you could be getting this error. One major issue similar I have frequently faced is in case you have multiple

Re: I AM getting this error plss help me

2020-03-15 Thread Khaleel Ahmed H. M. Shariff
Hi Mr. Surendra, May Peace, Blessings & Mercy of Almighty God be on you! Hope your code has started working. In case the code is still not working, here is my input. If you happen to see *AttributeError: 'NoneType' object has no attribute 'Command'* Look for a function which either does not have

Re: Django tutorial part 2: "It’s important to add __str__() methods to your models"

2020-01-12 Thread Khaleel Ahmed H. M. Shariff
Hi, May Peace, Blessings & Mercy of Almighty God be on you! I suggest you share the screen shot of the error. It would be more useful if code comes with the errors. Thanks in advance. God Bless You! God Bless India!! -- Love & Regards Dr. Khaleel Ahmed H. M. Managing Director, Tanzanite

Re: ''workon' is not recognized as an internal or external command, operable program or batch file'

2019-12-08 Thread Khaleel Ahmed H. M. Shariff
PM Hima Bindu chowdary wrote: > I really appreciate the help @khaled > > On Sat, 7 Dec, 2019, 8:18 PM Khaleel Ahmed H. M. Shariff, < > khaleelahme...@gmail.com> wrote: > >> Hi Hima, >> May Peace, Blessings & Mercy of Almighty God be on you! >> workon

Re: ''workon' is not recognized as an internal or external command, operable program or batch file'

2019-12-07 Thread Khaleel Ahmed H. M. Shariff
Hi Hima, May Peace, Blessings & Mercy of Almighty God be on you! workon is a module. do a *pip install workon* If you still get the same message. You could execute *python -m workon test* Hope this helps Best of Luck. God Bless You! God Bless India!! -- Love & Regards Dr. Khaleel Ahmed H. M.

Re: Form validations

2019-07-11 Thread Khaleel Ahmed H. M. Shariff
Yes you could validate user input using regular expression. Explore the re module. Best of luck God Bless On Thu, 11 Jul 2019, 11:22 p.m. Irfan Khan, wrote: > Yeah currently I do have modelforms but I need to know using regular > expression can we done > > On Thu, 11 Jul 2019 at 6:36 PM, Jani

Re: How to sent OTPA verification in mail while login with django

2019-02-15 Thread Khaleel Ahmed H. M. Shariff
Hi Aswani, May Peace, Blessings & Mercy of Almighty God be on you! You can use random number generation for OTP authentication. Hope it helps. Best of Luck. Thanks in advance. God Bless You! God Bless India!! -- Love & Regards Khaleel Ahmed H. M. Managing Director, Tanzanite Realty India

Re: any help thanks .

2019-01-31 Thread Khaleel Ahmed H. M. Shariff
May Peace, Blessings & Mercy of Almighty God be on you! What is the challenge you are facing? Thanks in advance. God Bless You! God Bless India!! -- Love & Regards Khaleel Ahmed H. M. Managing Director, Tanzanite Realty India Private Limited Partner, IMA Jewelers, Bangalore's Largest