暫無描述

yobafromstarvvars d3cf326a27 add migrations folder 1 年之前
apiviews cb9cd829c5 Create ticket when creating order; fixed: service field source attr pointed at object instead of pk; correct apps.py, fixing merged code etc.; Deleted trash files; edited readme; edited .gitignore to ignore migrations and __pycache__ 1 年之前
migrations d3cf326a27 add migrations folder 1 年之前
models cb9cd829c5 Create ticket when creating order; fixed: service field source attr pointed at object instead of pk; correct apps.py, fixing merged code etc.; Deleted trash files; edited readme; edited .gitignore to ignore migrations and __pycache__ 1 年之前
serializer cb9cd829c5 Create ticket when creating order; fixed: service field source attr pointed at object instead of pk; correct apps.py, fixing merged code etc.; Deleted trash files; edited readme; edited .gitignore to ignore migrations and __pycache__ 1 年之前
static 49edf74ca6 Merge branch 'unstable' of https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running into unstable 1 年之前
templates 49edf74ca6 Merge branch 'unstable' of https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running into unstable 1 年之前
.gitignore cb9cd829c5 Create ticket when creating order; fixed: service field source attr pointed at object instead of pk; correct apps.py, fixing merged code etc.; Deleted trash files; edited readme; edited .gitignore to ignore migrations and __pycache__ 1 年之前
README.md f7dd641b99 Добавил модуль с формой для обработки заказа 1 年之前
__init__.py f7dd641b99 Добавил модуль с формой для обработки заказа 1 年之前
admin.py cb9cd829c5 Create ticket when creating order; fixed: service field source attr pointed at object instead of pk; correct apps.py, fixing merged code etc.; Deleted trash files; edited readme; edited .gitignore to ignore migrations and __pycache__ 1 年之前
apps.py cb9cd829c5 Create ticket when creating order; fixed: service field source attr pointed at object instead of pk; correct apps.py, fixing merged code etc.; Deleted trash files; edited readme; edited .gitignore to ignore migrations and __pycache__ 1 年之前
forms.py f7dd641b99 Добавил модуль с формой для обработки заказа 1 年之前
license ac1cecbcc5 license info added 2 年之前
tests.py f7dd641b99 Добавил модуль с формой для обработки заказа 1 年之前
urls.py cb9cd829c5 Create ticket when creating order; fixed: service field source attr pointed at object instead of pk; correct apps.py, fixing merged code etc.; Deleted trash files; edited readme; edited .gitignore to ignore migrations and __pycache__ 1 年之前
views.py abbbd28952 Merge branch 'local' into unstable 1 年之前

README.md

Design Template

A module for processing customer orders implemented as a Django application.

Installation

1) Download or clone repository

git clone https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running.git

2) Install required dependencies in project settings

INSTALLED_APPS = [   
    ...
    'webservice_running',
    ...
]

3) Connects application routes to the project

  urlpatterns = (
  [
    ...
    path('webservice/', include("webservice_running.urls"), name='webservice'),
    ...
  ]
  )

4) Delete the migration files in the migrations folder (everything except init.py)

Start test the server:

python manage.py runserver 8000

If the port has not been selected, it is 8000 by default. If selected port is busy, use another one (for example, try increasing port number by 1 until the server starts). A link to the website should appear in the terminal.