Re: Unable to import HTML code

2020-07-05 Thread Akinfolarin Stephen
i guess the problem is syntax error in your load static at the top of the page put a spce between the percentage sign and the load below is a clearer explanation: your load static looks like this {%load static %} then change it to this {% load static %} the difference is that there is space

Re: Unable to import HTML code

2020-07-05 Thread 'Akash Sinha' via Django users
In your settings.py file you have to mention your static path , please check if you have mentioned that. 2nd if everything is good . Try to access that css file on the browser .start the server with python manage.py runserver and type the full path of the file in

Re: Unable to import HTML code

2020-06-29 Thread RANGA BHARATH JINKA
Hi, I want to give some steps to go through. 1. Try to close the server and run again. 2. Hard reload the page using ctrl+shift+r and check the console for any errors like css file not found. 3. Check whether the file is linking properly to the correct location in static folder.

Re: Unable to import HTML code

2020-06-29 Thread Avi shah
I have imported all my files that is css , js and webfonts and i have listed it in my settings.py as this STATIC_ROOT = os.path.join(BASE_DIR, 'static') STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static') ] And then and i aslo used the command python manage.py

Re: Unable to import HTML code

2020-06-29 Thread Karan Sahu
Hi, Karan here, I can help you on this. Let me know more issues apart from this will resolve all issues? Best, K On Mon, Jun 29, 2020 at 2:04 PM 'Ade Enga' via Django users < django-users@googlegroups.com> wrote: > Try adding this to your project's settings.py file (at the bottom): > >

Re: Unable to import HTML code

2020-06-29 Thread 'Ade Enga' via Django users
Try adding this to your project's settings.py file (at the bottom): STATIC_URL = '/static/' STATICFILES_DIRS = ( os.path.join(BASE_DIR, "static"), ) On Saturday, 27 June 2020 16:55:22 UTC+1, Avi shah wrote: > > Hi my name is Avi > > Just finished a course from Udemy on django. Unable to

Re: Unable to import HTML code

2020-06-28 Thread Avi shah
I did everything , its still not showing up On Sunday, June 28, 2020 at 6:31:02 AM UTC+5:30, Ajish Gopinath wrote: > > Create view.py and url.py to include HTML page or template > > On Sat 27 Jun, 2020, 9:25 PM Avi shah, > > wrote: > >> Hi my name is Avi >> >> Just finished a course from Udemy

Re: Unable to import HTML code

2020-06-27 Thread Ajish Gopinath
Create view.py and url.py to include HTML page or template On Sat 27 Jun, 2020, 9:25 PM Avi shah, wrote: > Hi my name is Avi > > Just finished a course from Udemy on django. Unable to import HTML and CSS > to new project > > Pls guide me > > -- > You received this message because you are

Re: Unable to import HTML code

2020-06-27 Thread Avi shah
Even I am facing the same problem On Saturday, June 27, 2020 at 9:58:06 PM UTC+5:30, mohamed khaled wrote: > > What do you want exactly ? do you mean all static files do you want to > import it from old project to new project ?? > > On Sat, 27 Jun 2020 at 17:54, Avi shah > > wrote: > >> Hi my

Re: Unable to import HTML code

2020-06-27 Thread Avi shah
I have developed a front end using bootstrap and different themes , and now I want to convert it into django html , I've loaded the static files and mentioned all the templates sec in my settings.py but for some reason my css is not being shown on the project even though it's been collected

Re: Unable to import HTML code

2020-06-27 Thread Avi shah
No, I have created 1 static website in html and now I want to import it in django new project -- 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

Re: Unable to import HTML code

2020-06-27 Thread mohamed khaled
What do you want exactly ? do you mean all static files do you want to import it from old project to new project ?? On Sat, 27 Jun 2020 at 17:54, Avi shah wrote: > Hi my name is Avi > > Just finished a course from Udemy on django. Unable to import HTML and CSS > to new project > > Pls guide me

Unable to import HTML code

2020-06-27 Thread Avi shah
Hi my name is Avi Just finished a course from Udemy on django. Unable to import HTML and CSS to new project Pls guide me -- 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