Hi,

apparently you are confusing sqlite with postgresql. Could you show the full
stack trace and error message, and your DATABASES setting?

Regards,

Antonis

Antonis Christofides
http://djangodeployment.com

On 2017-11-02 20:23, Felipe Salazar wrote:
> Hi all
>
> I a python developer that I don't use Django very frequently. I am facing a 
> struggle these days because I am development APIs in Django but to deploy the
> project I want to pack the project in a war file, so that is the reason that 
> I am using Jython. However, I am getting errors when I try to connect the
> project to Postgres database because it said that the library sqlite2 is not
> supported in Jython. I installed pysqlite3 1.3 but it looks like that this
> version does not support Postgres until version 1.7 of, but when I tried to
> install the package I get an error:" ' NoneType' object has no attribute
> 'startswith' ".
>
> Please does anyone have an idea of how to solve this issue? 
>
> I appreciate any help and thank you in advance.
> -- 
> 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 [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e526aed1-8685-41ac-88f7-371f1bd54224%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/e526aed1-8685-41ac-88f7-371f1bd54224%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3527894d-f4e4-af31-349f-563356903249%40djangodeployment.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to