url-shortener:Web网址缩短器,如bit.ly

时间:2024-03-04 11:00:43
【文件属性】:

文件名称:url-shortener:Web网址缩短器,如bit.ly

文件大小:2.84MB

文件格式:ZIP

更新时间:2024-03-04 11:00:43

Python

URL缩短器 用python和Django制作的网址缩短器。 演示版 安装 首先,您需要安装和Pip $ pip install -r requirements.txt(安装依赖项) $ python manage.py migration(创建一个简单的sqlite3 db并迁移db结构) $ python manage.py createsuperuser(如果要管理任何内容,请创建管理员用户) 用法 使用以下命令运行服务器: $ python manage.py运行服务器 转到


【文件预览】:
url-shortener-master
----manage.py(633B)
----requirements.txt(73B)
----demo()
--------Demo-02.png(1.22MB)
--------Demo-01.png(456KB)
--------Demo-03.png(1.17MB)
----README.md(630B)
----.gitignore(3KB)
----urls()
--------apps.py(83B)
--------urls.py(210B)
--------tests.py(60B)
--------migrations()
--------admin.py(63B)
--------__init__.py(0B)
--------models.py(233B)
--------views.py(2KB)
--------templates()
----url_shortener()
--------settings.py(3KB)
--------urls.py(800B)
--------__init__.py(0B)
--------wsgi.py(403B)

网友评论