Re: How can you do a for loop with a database?

2020-12-14 Thread Shahprogrammer
No it is a dictionary representation of your data On Monday, 14 December 2020 at 19:55:54 UTC+5:30 prth...@gmail.com wrote: > is (items) the model name? > > On Sunday, December 13, 2020 at 8:12:30 AM UTC-5 andrea...@hypercode.se > wrote: > >> The context needs to be a dictionary. >> >>

Re: Request for guidance of using Social-auth-app django

2020-12-09 Thread Shahprogrammer
Check this out https://github.com/omab/django-social-auth On Wednesday, 9 December 2020 at 19:49:50 UTC+5:30 professional...@gmail.com wrote: > Dear All > > Can anyone help for implementing social-auth-app-django package for social > authenication of facebook, google and apple ID. > > Its

Cryptography in Django Models

2020-12-09 Thread Shahprogrammer
Hi Everybody, I have just created a package for bi-directional cryptography in Django Models. It has following features:- 1. *Supports data **retrieval* 2. *Supports custom query* 3. *Supports Q() queries* 4. *Supports Ordering data through python functions* 5. *Supports Sorting

Django-does-not-call-get-prep-value-while-using-lookups

2020-10-22 Thread Shahprogrammer
I have an custom model field in which i have implemented cryptography. I get prefect results when I don't use lookups for filtering data i.e. it calls *get_prep_value()* But when I filter data using lookups like *startswith* or *endswith*. it does not calls get_prep_value().How to solve this

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-16 Thread Shahprogrammer
You have created a class named onClickSearch with method ProductDetails . So you can't import a method of a class. To use the method you need to import class. So in place of importing from pages.views import ProductDetails in test_views.py do from pages.views import onClickSearch & then

Re: ImportError: cannot import name 'ProductDetails' from 'pages.views'

2020-10-16 Thread Shahprogrammer
Can you post your code of views.py On Friday, 16 October, 2020 at 12:27:19 pm UTC+5:30 sali...@rohteksolutions.com wrote: > Hi all, > vikreya > mysite > .cache > .idea >.pytest_cache > logs > media > mysite > > __init__.py >

Re: I am stuck at "Installing Django on PythonAnywhere" can anyone help me ?

2020-09-21 Thread Shahprogrammer
That's not the problem with installation of Django it's with your urls On Monday, 21 September, 2020 at 6:49:56 pm UTC+5:30 kashubh...@gmail.com wrote: > [image: Screenshot (418).png] > -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Checkout my new Project CryptographicFields

2020-09-20 Thread Shahprogrammer
Released new version of it .check it out guys On Friday, 18 September, 2020 at 8:23:04 pm UTC+5:30 obast...@gmail.com wrote: > Nice > > On Fri, Sep 18, 2020 at 2:32 PM Shahprogrammer wrote: > >> Hi guys, I have build an open source project for using cryptography in

Checkout my new Project CryptographicFields

2020-09-18 Thread Shahprogrammer
Hi guys, I have build an open source project for using cryptography in Django Models . It allows by-directional encryption. Here is the link :- Django-CryptographicFields <https://github.com/Shahprogrammer/Django-CryptographicFields> -- You received this message because you are subs