[no subject]

2021-01-20 Thread Salima Begum
Hi all, We are building website, Here I have written functionality for classifieds page. It is loading to slow because of We are prompting distance calculation in classifieds page. By using distance API matrix based on logged in user zip code and individual Ad zip codes from query set(database).

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread panfei
It finally proved a compilation issue, this is the right way to compile Python 3.9: 1033 C_INCLUDE_PATH=/home/felix/.local/sqlite/default/include/ CPLUS_INCLUDE_PATH=/home/felix/.local/sqlite/default/include/ LD_RUN_PATH=/home/felix/.local/sqlite/default/lib ./configure --prefix=/home/felix/.local

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread panfei
Thanks for all the suggestions. 'Amitesh Sahay' via Django users 于2021年1月20日周三 下午10:06写道: > Please read the release notes of the Django version you are using. It will > be a life saver as well. > > Regards, > Amitesh > > > On Wednesday, 20 January, 2021, 07:35:14 pm IST, Amitesh Sahay < > amites

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread 'Amitesh Sahay' via Django users
Please read the release notes of the Django version you are using. It will be a life saver as well. Regards, Amitesh  On Wednesday, 20 January, 2021, 07:35:14 pm IST, Amitesh Sahay wrote: So, this seems to be a version compatibility issue, a a work around you can use some other dat

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread 'Amitesh Sahay' via Django users
So, this seems to be a version compatibility issue, a a work around you can use some other database(mysql, oracle, etc). This cud save ur day and time as well. Regards, Amitesh  On Wednesday, 20 January, 2021, 07:32:59 pm IST, panfei wrote: I have tried, it works in Python 3.6 environ

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread panfei
The exception is raised from inside the C implementation in Python when checking sqlite3 version check. In Django: @async_unsafe def get_new_connection(self, conn_params): conn = Database.connect(**conn_params) if PY38: create_deterministic_function = functools.partial(

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread panfei
I have tried, it works in Python 3.6 environment. but I still want to find a way (maybe a workaround) to solve this problem. 'Amitesh Sahay' via Django users 于2021年1月20日周三 下午9:48写道: > Try older version of Python interpreter and see if that works. May be > consider using 3.6 > > Regards, > Amites

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread 'Amitesh Sahay' via Django users
Try older version of Python interpreter and see if that works. May be  consider using 3.6 Regards, Amitesh  On Wednesday, 20 January, 2021, 05:55:32 pm IST, panfei wrote: I found that, it may not be a Django-related issue, It's more likely a Python level issue, but do anyone know h

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread panfei
I found that, it may not be a Django-related issue, It's more likely a Python level issue, but do anyone know how to avoid this problem?: (venv) [felix@localhost blueprint]$ python Python 3.9.1 (default, Jan 20 2021, 14:32:50) [GCC 10.2.0] on linux Type "help", "copyright", "credits" or "license"

python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread panfei
System environment: Cent OS 7 Sqlite3 3.34.0 (Compile from source) Python 3.9.1 (Compile from source) Django 3.1.5 (Pip install) 1. Compile sqlite3: ./configure --prefix=/home/felix/.local/sqlite/sqlite-3.34.0 make && make install 2. Add sqlite3 lib to lib search path: export LD_LIBRARY_PATH=/

Query

2021-01-20 Thread Prashant Singh
Is there any java Global Group -- 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 visi

Re: To start contribution from initial level

2021-01-20 Thread Carles Pina i Estany
Hi, On Jan/19/2021, Dhruval Gandhi wrote: > Hello, > > Myself Dhruval Gandhi, I want to contribute in django . > But I'm totally new for it. Welcome to Django > I want to setup this on my local machine, want to contribute myself via PR, > But I don't how this all to do it. There is quite a l