我已经免费在000webhosthost中部署了我的Django网站,但它无法正常工作

时间:2015-02-19 13:14:37

标签: python django deployment

我已经免费在000webhosthost中部署了我的Django 1.7网站,但它无法正常工作。它部署时没有错误,但它无法正常工作。这是My website on 000webhost及其快照的链接 -


enter image description here 在这里我可以发现问题是静态文件不包括在内并且包含功能不起作用。

  

我的index.html程序是 -



{% load staticfiles %}
<link rel="stylesheet" type="text/css" href="{% static 'webpage/style.css' %}" />
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<div>
{% include "webpage/header.html" %} 
</div>

  
<div class="row">
  <div class="col-md-8">
  		<div col-md-12 .col-md-offset-3>
  			<h3>Key Achievements</h3>
  			<ul>
	  			<li>Ph.D. in Computer Science</li>
	  			<li> Incharge Principal S.P. College</li>
	  			<li>Guest Lectures for Research and finishing schools  </li>
	  			<li>Researcher in image processing domain of computer science </li>
	  			<li>Head of MCA Department at P.R.Patil Group of Educational Institutes, Amrvavati</li>
			</ul>
  		</div>

 	 </div>
  		<div class="col-md-4" style="">
<img src="{% static 'webpage/images/chitraMam.jpg' %}" alt="My image" width="60%"  height="10% "/>
        	</div>
	</div>

<hr>	
	<div class="row">
  		<div class="col-md-4">
  		<h5 align="center"><strong>Teaching</strong></h6>
  			 			<ul><small>
	  			<li>Having more than 2-decades of academic experience including :teaching (PG,PG) ,research and administration.</li>
	  			<li>Served as a Professor in computer department of  symbiosis International University, Pune-2009-2010 </li>
	  			<li>Sr  Lecturer at  in MCA department from 2008-2009 HVMPM, Amravati., </li>
	  			<li>Lecturer   from 2003 at HVMPM, Amravati.</li>
			</ul>

  		</div>
  		<div class="col-md-4">
  			<h5 align="center"><strong>Research</strong></h6>
  			 			<ul>
	  			<li>Registered supervisor for Ph.D in Computer Science at Amravati university, Nagpur University, Symbiosis International University.</li>
	  			<li>6 phd students working and 03 awarded phd degree.</li>
			</ul>
  		</div>
  		<div class="col-md-4">
  		<h5 align="center"><strong>Invited Talks</strong></h6>
  			 			<ul>
	  			<li>Ph.D. in Computer Science</li>
	  			<li> Incharge Principal S.P. College</li>
	  			<li>Guest Lectures for Research and finishing schools  </li>
	  			<li>Researcher in image processing domain of computer science </li>
	  			<li>Head of MCA Department at P.R.Patil Group of Educational Institutes, Amrvavati</li>
			</ul>
  		</div>
	</div>


</div>
</div>   <!--Main div -->
</div>
&#13;
&#13;
&#13;

任何人请帮忙。

1 个答案:

答案 0 :(得分:3)

根据http://www.000webhost.com/的计划比较,他们的免费计划不包括python支持。您提供的屏幕截图确认了这一假设,因为django模板作为普通的html文件提供。

如果您正在寻找django网站的免费托管,请查看https://www.heroku.com/。他们的免费计划相当有限,但允许你主持一个简单的django页面。

相关问题