[django-csp] Getting CSP violation error

2022-06-15 Thread Krishna Basak
Hello all, Please help me with the following question https://stackoverflow.com/questions/72628864/django-csp-why-i-am-getting-csp-violation-error-even-if-nonce-is-set-up Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe f

Re: python instagram bot to upload posts ( TRY THIS )

2022-06-15 Thread UJJWAL CHAUDHARY
from instabot import Bot bot=Bot() bot.login(username='username'),password=('**') bot.upload_photo('/Users/mac/Documents/Abhinandan_Projects/complete_BOT_project/milestone_5/ok.png',caption='ok its here') On Tue, 14 Jun 2022, 11:36 Abhinandan K, wrote: > hello every one i'm trying to create

Translation to Amharic language is not working.

2022-06-15 Thread titus hailu
I have added Amharic language to my project but it say ERRORS: ?: (translation.E004) You have provided a value for the LANGUAGE_CODE setting that is not in the LANGUAGES setting. How can I fix it? -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: static file serve nothing is load in deployment

2022-06-15 Thread Antonis Christofides
If you are running the server with "manage.py runserver", STATIC_ROOT is irrelevant. You should put the "polls" directory in "polls/static", i.e. e.g. "polls/static/polls/style.css"; this is relative to the folder where "manage.py" is. On 15/06/2022 13.54, luca72.b...@gmail.com wrote: no i'm

Re: Added new column to model and run migrations but not applied to database table

2022-06-15 Thread Salima Begum
Hello Django experts, We are seeing this problem again and think that this should be a serious bug in Django. We are wondering whether any one in this community is having the same issue. I would appreciate it if you could share your thoughts on this because we are really unhappy to see this proble

Re: How to hash fields and detect changes in a record

2022-06-15 Thread Ryan Nowakowski
On June 14, 2022 10:29:40 PM CDT, Mike Dewhirst wrote: >On 14/06/2022 11:20 pm, Ryan Nowakowski wrote: >> >> Summing the ordinal of the characters won't catch transposition: >> >> >>> chars = 'ab' >> >>> sum([ord(c) for c in chars]) >> 195 >> >>> chars = 'ba' >> >>> sum([ord(c) for c in chars

Re: static file serve nothing is load in deployment

2022-06-15 Thread luca72.b...@gmail.com
no i'm not in production i'm running with runserver Il giorno mercoledì 15 giugno 2022 alle 12:45:54 UTC+2 Antonis Christofides ha scritto: > Is this in production? Are you using apache or something? if yes, please > take a look at > https://djangodeployment.readthedocs.io/en/latest/_images/h

Re: static file serve nothing is load in deployment

2022-06-15 Thread Antonis Christofides
Is this in production? Are you using apache or something? if yes, please take a look at https://djangodeployment.readthedocs.io/en/latest/_images/how-static-files-work-apache.png. Otherwise, please explain in more detail what your deployment environment looks like. On 15/06/2022 13.08, luca7

static file serve nothing is load in deployment

2022-06-15 Thread luca72.b...@gmail.com
Hello i have this configuration in settings.py STATIC_URL = '/static_files/' STATIC_ROOT = 'D:/prova_nuovo_sito/static_files' INSTALLED_APPS = [ 'polls.apps.PollsConfig', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions',