Setting Celery Config on Server

2023-08-05 Thread Brian Odhiambo
Hello,
I'm using celery to automate some tasks in my django application.
Following some tutorial online, I've done a .config setup for  both celery
worker and celery beat in this directory on my server:
/etc/supervisor/conf.d/.
However, when I reload the supervisor service, I get 502 Bad Gateway error.
Attached are the screenshots for the setup I did.
[image: Screenshot from 2023-08-05 21-53-11.png]
[image: e574e585-b830-49da-927b-fe23f4456b48.png]
What could I have done wrong, and how's this setup supposed to be?

Thanks in advance for your help.

-- 
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 visit 
https://groups.google.com/d/msgid/django-users/CAPjQKqbWs9oEAMww0vdrV9fwrx0F%2BpB_%3DpM5nRZBxAD0ebtyTQ%40mail.gmail.com.


Re: APP DEPLOYMENT

2023-08-05 Thread Dennis Kinanga
Someone to give me instructions on how to go about it please

On Aug 6, 2023 00:07, "John McClain"  wrote:

Heroku is easy to implement and offers free tier

On Thu 20 Jul 2023 at 10:57, Abdou KARAMBIZI 
wrote:

>
> Hello friends,
>
>
> I want to know where I can upload my django projects for the reason of
> showing them as my technical experience.
>
> --
> 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 visit
> https://groups.google.com/d/msgid/django-users/CABnE44xYg2JqtHVUHMkBkpS81jmQyqfehid3q-%2BnEJe532mrhA%40mail.gmail.com
> 
> .
>
-- 
John McClain

Cell: 085-1977-823
Skype: jmcclain0129
Email: jmcclain0...@gmail.com

-- 
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 visit
https://groups.google.com/d/msgid/django-users/CAN-hv_qV59Y_pKbGZzccO3AjKsH0hM1vZtE4fj2U0nK6yc_XWQ%40mail.gmail.com

.

-- 
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 visit 
https://groups.google.com/d/msgid/django-users/CAHN7osA1hqSBMMBawnWRJumDOmGARCuugrj0Oryi7Ewcb%2BGszQ%40mail.gmail.com.


Re: APP DEPLOYMENT

2023-08-05 Thread John McClain
Heroku is easy to implement and offers free tier

On Thu 20 Jul 2023 at 10:57, Abdou KARAMBIZI 
wrote:

>
> Hello friends,
>
>
> I want to know where I can upload my django projects for the reason of
> showing them as my technical experience.
>
> --
> 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 visit
> https://groups.google.com/d/msgid/django-users/CABnE44xYg2JqtHVUHMkBkpS81jmQyqfehid3q-%2BnEJe532mrhA%40mail.gmail.com
> 
> .
>
-- 
John McClain

Cell: 085-1977-823
Skype: jmcclain0129
Email: jmcclain0...@gmail.com

-- 
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 visit 
https://groups.google.com/d/msgid/django-users/CAN-hv_qV59Y_pKbGZzccO3AjKsH0hM1vZtE4fj2U0nK6yc_XWQ%40mail.gmail.com.


Case-insensitive non-deterministic collation

2023-08-05 Thread Mike Dewhirst
The following warning triggered a bit of research which looks like a 
significant amount of study will be required to find the collation 
needed ...



django.contrib.postgres.fields.CICharField is deprecated. Support for it 
(except in historical migrations) will be removed in Django 5.1.
    HINT: Use CharField(db_collation="…") with a case-insensitive 
non-deterministic collation instead.



Does anyone have experience they would like to share? What replaces that 
ellipsis?


The primary use case is to establish case-insensitivity when checking 
names - including usernames, company names and abbreviations/acronyms. 
Maybe there is a better way to handle that?


This is my typical PostgreSQL database spec ...

CREATE DATABASE 
    WITH
    OWNER = miked
    ENCODING = 'UTF8'
    LC_COLLATE = 'C'
    LC_CTYPE = 'C'
    TABLESPACE = pg_default
    CONNECTION LIMIT = -1
    IS_TEMPLATE = False;

Many thanks for any help

Cheers

Mike

--
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 visit 
https://groups.google.com/d/msgid/django-users/2eccab9e-e296-55e0-05de-e8d4cf708262%40dewhirst.com.au.