English 中文(简体)
我如何利用Django书写一个通过因特网运行的灯光(即基于文字的和从终点站使用)?
原标题:How can I use Django to write a console app (i.e., text-based & used from a terminal) that runs over the Internet?

指挥线拥有如此大的权力。 非电力用户网页。 我像我的达詹戈一样,也有一个以青春期为基础的接口,以便人们能够真正快速工作,而不是用图象和 mo。 是否有任何人试图利用Django做这样的事情? 我和她的oku一样——一旦你在她的oku.com上开立账户,你就可以在指挥线上做这么多的事情,并在没有吉大港山区管理费用的情况下与服务器互动。

问题回答

This is exactly what the shell command of manage.py does. It gives you a python prompt with a few things set up so you can import your models and mess with them via the django API. So if your command-line tools are for superusers with shell access on the server then you can just write some python scripts that get run in the same way.

然而,如果你想从其他机器中接触用户,那么你(显然吗?)需要通过吉普林港机场,但普思松有图书馆可以做查询。 唯一复杂的是有志像和厨师,但 p的图书馆也能够帮助你这样做——见urllib2、cookielib等。 你们不得不为返还的产出撰写一些简单文本模板。

我对她的oku没有经验,因此我不敢肯定会做些什么——你可以做什么?





相关问题
How to get two random records with Django

How do I get two distinct random records using Django? I ve seen questions about how to get one but I need to get two random records and they must differ.

Moving (very old) Zope/Plone Site to Django

I am ask to move data from a (now offline) site driven by Plone to a new Django site. These are the version informations I have: Zope Version (unreleased version, python 2.1.3 ) Python Version 2.1....

Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

Flexible pagination in Django

I d like to implement pagination such that I can allow the user to choose the number of records per page such as 10, 25, 50 etc. How should I go about this? Is there an app I can add onto my project ...

is it convenient to urlencode all next parameters? - django

While writing code, it is pretty common to request a page with an appended "next" query string argument. For instance, in the following template code next points back to the page the user is on: &...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

热门标签