1024programmer Java Similarities and differences in deployment between django1.4 and 1.3

Similarities and differences in deployment between django1.4 and 1.3

There is not much change in support for python3.0, but there are slight adjustments in the structure of the framework

As you can see, the project directory does not contain the configuration file and url file, but the manage.py file and the folder with the same name as the project. In order to coordinate the release on multiple platforms, django1.4 separated the manage.py file for the development of the test environment, and placed the core code of the project in a separate directory.

Therefore, when using manage.py, you need to pay attention to the directory issue, and the manage.py file is in the superior directory of the project code. Then when we use manage.py to create an application, we are required to indicate the manage.py The specific location is as shown below:

As can be seen from the above, when using manage.py to create an application, you need to pay attention to the calling path. Of course, you can use django-admin.py to create the application:

If there are other things that need attention, we will update them slowly in the future~

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/756371

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索