So, the contributor guidelines page about unit tests mentions running 
database specific tests:

https://docs.djangoproject.com/en/2.1/internals/contributing/writing-code/unit-tests/#testing-other-python-versions-and-database-backends

I am working on ticket 29984, and it seems to me that since the TruncDay is 
attempting to cast to the timezone on the database level, it is working, 
and its job is done.  So, the fix should be at the backend level, and the 
ticket provides one for Postgres.

Following the unit test advice, I created a settings file.   But not using 
my Postgresql admin user.   I get the following errors:

psycopg2.ProgrammingError: permission denied to create extension "btree_gin"
HINT:  Must be superuser to create this extension.

I'm not going to do that - do you have any list of required extensions?

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/dfae7d19-a356-4b39-aab5-3148e0468082%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to