django-admin error

2019-08-17 Thread Naty Mina
hi, i'm new in django and trying to create my first project i followed the documentation and when i try to execute the django-admin startproject mysite i get error that 'no django settings specified' and to try 'django-admin.py help' instead for usage. the problem is when i try to do so, i get a

Re: django-admin error

2019-08-19 Thread Naty Mina
is the name of your project. you can change this name as > you desired. > > > if further u have any error fell free ping me > > > On Sun, Aug 18, 2019 at 1:32 AM Naty Mina > > wrote: > >> hi, i'm new in django and trying to create my first project &

Template Does Not Exist

2019-08-19 Thread Naty Mina
*,hi guys* finally i could run my project but when i'm trying to open the home page that built i get error template does not exist and when i look at the details i see that django.engine looked for the template when it''s not in. the html file is in the same directory as the views and that's whe

Re: Template Does Not Exist

2019-08-20 Thread Naty Mina
ur view u reference the html file as eg return render(request, > 'app_name/index.html', {'value_to_display_in_html_file': > value_to_display_in_html_file}), > that way > > On Aug 19, 2019 11:47, "Naty Mina" > > wrote: > >> *,hi guys* >