Skip to content

Commit

Permalink
Added cors headers in settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaBansal2310 committed Mar 3, 2024
1 parent 6cbc98a commit f820b1e
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 0 deletions.
Binary file modified Painting/__pycache__/settings.cpython-311.pyc
Binary file not shown.
Binary file modified Painting/__pycache__/urls.cpython-311.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions Painting/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
'corsheaders.middleware.CorsMiddleware',
]

ROOT_URLCONF = 'Painting.urls'
Expand Down
Binary file modified PaintingApp/__pycache__/admin.cpython-311.pyc
Binary file not shown.
Binary file modified PaintingApp/__pycache__/models.cpython-311.pyc
Binary file not shown.
Binary file modified PaintingApp/__pycache__/views.cpython-311.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified db.sqlite3
Binary file not shown.
Binary file added media/paintings/kdbcfie_KlztUzj.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/paintings/kdbcfie_WYMVqyn.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/paintings/kdbcfie_q7voFxl.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f820b1e

Please sign in to comment.