Hi,
How to move source code to production if code consists of images
If anyone has any document related to production . please share me
On Tue, Oct 27, 2020 at 6:57 PM Алмаз Есеньязов
wrote:
> You need to write
> BASE_DIR / 'build'
> not
> '/build/'
>
> пн, 26 окт. 2020 г., 15:55 Vineeth :
>
You need to write
BASE_DIR / 'build'
not
'/build/'
пн, 26 окт. 2020 г., 15:55 Vineeth :
> I am using django 3.1 version how to connect django and react i am trying
> to connect but
> getting Error like TemplateDoesNotExist at /index.html i attached my
> folder structure and error image
>
> --
In Trmplates
os.path.join(BASE_DIR, 'new/build')
At the bottom
STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'new/build/static') ]
On Mon, Oct 26, 2020, 3:24 PM Vineeth wrote:
> I am using django 3.1 version how to connect django and react i am trying
> to connect but
> getting
Your view must return a Jason response and not render a html file.
You should learn Django Rest Framework for that
This is an example here for how your view will look like:
API View
https://youtu.be/-x_Z_V9HXZE
On Mon, 26 Oct 2020 at 13:08, Samuel Nogueira wrote:
> Please can you show me
Why don't you use django rest framework API then separate your front end to
your back end.That why you will not have to deal with integration issues
On Mon, Oct 26, 2020, 11:55 AM Vineeth wrote:
> I am using django 3.1 version how to connect django and react i am trying
> to connect but
>
5 matches
Mail list logo