├── .gitignore ├── README.md ├── core ├── __init__.py ├── apps.py ├── consumer.py ├── models.py └── routing.py ├── db_tool ├── __init__.py ├── create_admin.py ├── create_user.py ├── data │ ├── __init__.py │ ├── banner_data.py │ ├── category_data.py │ ├── goods_data.py │ ├── goods_image_data.py │ ├── msg_data.py │ └── topic_data.py ├── import_banner_data.py ├── import_category_data.py ├── import_data.sh ├── import_goods_data.py ├── import_goods_image.py ├── import_msg_data.py └── import_topic_data.py ├── django_project.conf ├── django_project.nginx ├── django_project ├── __init__.py ├── asgi.py ├── routing.py ├── settings.py ├── urls.py └── wsgi.py ├── docs └── api_v1.md ├── goods ├── __init__.py ├── admin.py ├── apps.py ├── migrations │ ├── 0001_initial.py │ ├── 0002_bidrecord_profile.py │ ├── 0003_auto_20181110_1759.py │ └── __init__.py ├── models.py ├── serializers.py ├── tests.py ├── urls.py └── views.py ├── h_utils ├── __init__.py ├── errors.py ├── errors_handler.py ├── generator.py ├── mutex.py ├── permissions.py ├── response_extra.py ├── scheduler_extra.py ├── serializers_extra.py ├── success.py ├── validator.py └── websocket_extra.py ├── homes ├── __init__.py ├── admin.py ├── apps.py ├── migrations │ ├── 0001_initial.py │ └── __init__.py ├── models.py ├── serializers.py ├── tests.py ├── urls.py └── views.py ├── manage.py ├── msg ├── __init__.py ├── admin.py ├── apps.py ├── migrations │ ├── 0001_initial.py │ ├── 0002_auto_20181108_1437.py │ └── __init__.py ├── models.py ├── permissions.py ├── serializers.py ├── tests.py ├── urls.py └── views.py ├── requirements.txt ├── restart.sh ├── stop.sh ├── test ├── __init__.py ├── test_int.py ├── test_json.py ├── test_random_str.py └── test_scheduler.py ├── user_operation ├── __init__.py ├── admin.py ├── apps.py ├── migrations │ ├── 0001_initial.py │ ├── 0002_auto_20181108_1437.py │ └── __init__.py ├── models.py ├── tests.py ├── urls.py └── views.py └── users ├── __init__.py ├── admin.py ├── apps.py ├── migrations ├── 0001_initial.py ├── 0002_auto_20181110_1759.py ├── 0003_profile_is_third.py ├── 0004_auto_20190117_1222.py └── __init__.py ├── models.py ├── permissions.py ├── serializers.py ├── tests.py ├── urls.py └── views.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/README.md -------------------------------------------------------------------------------- /core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/core/apps.py -------------------------------------------------------------------------------- /core/consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/core/consumer.py -------------------------------------------------------------------------------- /core/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/core/models.py -------------------------------------------------------------------------------- /core/routing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/core/routing.py -------------------------------------------------------------------------------- /db_tool/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/__init__.py -------------------------------------------------------------------------------- /db_tool/create_admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/create_admin.py -------------------------------------------------------------------------------- /db_tool/create_user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/create_user.py -------------------------------------------------------------------------------- /db_tool/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /db_tool/data/banner_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/data/banner_data.py -------------------------------------------------------------------------------- /db_tool/data/category_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/data/category_data.py -------------------------------------------------------------------------------- /db_tool/data/goods_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/data/goods_data.py -------------------------------------------------------------------------------- /db_tool/data/goods_image_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/data/goods_image_data.py -------------------------------------------------------------------------------- /db_tool/data/msg_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/data/msg_data.py -------------------------------------------------------------------------------- /db_tool/data/topic_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/data/topic_data.py -------------------------------------------------------------------------------- /db_tool/import_banner_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/import_banner_data.py -------------------------------------------------------------------------------- /db_tool/import_category_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/import_category_data.py -------------------------------------------------------------------------------- /db_tool/import_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/import_data.sh -------------------------------------------------------------------------------- /db_tool/import_goods_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/import_goods_data.py -------------------------------------------------------------------------------- /db_tool/import_goods_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/import_goods_image.py -------------------------------------------------------------------------------- /db_tool/import_msg_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/import_msg_data.py -------------------------------------------------------------------------------- /db_tool/import_topic_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/db_tool/import_topic_data.py -------------------------------------------------------------------------------- /django_project.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/django_project.conf -------------------------------------------------------------------------------- /django_project.nginx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/django_project.nginx -------------------------------------------------------------------------------- /django_project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_project/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/django_project/asgi.py -------------------------------------------------------------------------------- /django_project/routing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/django_project/routing.py -------------------------------------------------------------------------------- /django_project/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/django_project/settings.py -------------------------------------------------------------------------------- /django_project/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/django_project/urls.py -------------------------------------------------------------------------------- /django_project/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/django_project/wsgi.py -------------------------------------------------------------------------------- /docs/api_v1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/docs/api_v1.md -------------------------------------------------------------------------------- /goods/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /goods/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/goods/admin.py -------------------------------------------------------------------------------- /goods/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/goods/apps.py -------------------------------------------------------------------------------- /goods/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/goods/migrations/0001_initial.py -------------------------------------------------------------------------------- /goods/migrations/0002_bidrecord_profile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/goods/migrations/0002_bidrecord_profile.py -------------------------------------------------------------------------------- /goods/migrations/0003_auto_20181110_1759.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/goods/migrations/0003_auto_20181110_1759.py -------------------------------------------------------------------------------- /goods/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /goods/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/goods/models.py -------------------------------------------------------------------------------- /goods/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/goods/serializers.py -------------------------------------------------------------------------------- /goods/tests.py: -------------------------------------------------------------------------------- 1 | # Create your tests here. 2 | -------------------------------------------------------------------------------- /goods/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/goods/urls.py -------------------------------------------------------------------------------- /goods/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/goods/views.py -------------------------------------------------------------------------------- /h_utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /h_utils/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/h_utils/errors.py -------------------------------------------------------------------------------- /h_utils/errors_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/h_utils/errors_handler.py -------------------------------------------------------------------------------- /h_utils/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/h_utils/generator.py -------------------------------------------------------------------------------- /h_utils/mutex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/h_utils/mutex.py -------------------------------------------------------------------------------- /h_utils/permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/h_utils/permissions.py -------------------------------------------------------------------------------- /h_utils/response_extra.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/h_utils/response_extra.py -------------------------------------------------------------------------------- /h_utils/scheduler_extra.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/h_utils/scheduler_extra.py -------------------------------------------------------------------------------- /h_utils/serializers_extra.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/h_utils/serializers_extra.py -------------------------------------------------------------------------------- /h_utils/success.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/h_utils/success.py -------------------------------------------------------------------------------- /h_utils/validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/h_utils/validator.py -------------------------------------------------------------------------------- /h_utils/websocket_extra.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/h_utils/websocket_extra.py -------------------------------------------------------------------------------- /homes/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /homes/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/homes/admin.py -------------------------------------------------------------------------------- /homes/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/homes/apps.py -------------------------------------------------------------------------------- /homes/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/homes/migrations/0001_initial.py -------------------------------------------------------------------------------- /homes/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /homes/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/homes/models.py -------------------------------------------------------------------------------- /homes/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/homes/serializers.py -------------------------------------------------------------------------------- /homes/tests.py: -------------------------------------------------------------------------------- 1 | # Create your tests here. 2 | -------------------------------------------------------------------------------- /homes/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/homes/urls.py -------------------------------------------------------------------------------- /homes/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/homes/views.py -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/manage.py -------------------------------------------------------------------------------- /msg/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /msg/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/msg/admin.py -------------------------------------------------------------------------------- /msg/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/msg/apps.py -------------------------------------------------------------------------------- /msg/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/msg/migrations/0001_initial.py -------------------------------------------------------------------------------- /msg/migrations/0002_auto_20181108_1437.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/msg/migrations/0002_auto_20181108_1437.py -------------------------------------------------------------------------------- /msg/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /msg/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/msg/models.py -------------------------------------------------------------------------------- /msg/permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/msg/permissions.py -------------------------------------------------------------------------------- /msg/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/msg/serializers.py -------------------------------------------------------------------------------- /msg/tests.py: -------------------------------------------------------------------------------- 1 | # Create your tests here. 2 | -------------------------------------------------------------------------------- /msg/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/msg/urls.py -------------------------------------------------------------------------------- /msg/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/msg/views.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/requirements.txt -------------------------------------------------------------------------------- /restart.sh: -------------------------------------------------------------------------------- 1 | supervisorctl restart django_project -------------------------------------------------------------------------------- /stop.sh: -------------------------------------------------------------------------------- 1 | supervisorctl stop django_project -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/test_int.py: -------------------------------------------------------------------------------- 1 | a = 'a' 2 | 3 | int(a) 4 | -------------------------------------------------------------------------------- /test/test_json.py: -------------------------------------------------------------------------------- 1 | a = 'qwe' 2 | 3 | print(dict(a)) 4 | -------------------------------------------------------------------------------- /test/test_random_str.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/test/test_random_str.py -------------------------------------------------------------------------------- /test/test_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/test/test_scheduler.py -------------------------------------------------------------------------------- /user_operation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /user_operation/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/user_operation/admin.py -------------------------------------------------------------------------------- /user_operation/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/user_operation/apps.py -------------------------------------------------------------------------------- /user_operation/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/user_operation/migrations/0001_initial.py -------------------------------------------------------------------------------- /user_operation/migrations/0002_auto_20181108_1437.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/user_operation/migrations/0002_auto_20181108_1437.py -------------------------------------------------------------------------------- /user_operation/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /user_operation/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/user_operation/models.py -------------------------------------------------------------------------------- /user_operation/tests.py: -------------------------------------------------------------------------------- 1 | # Create your tests here. 2 | -------------------------------------------------------------------------------- /user_operation/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/user_operation/urls.py -------------------------------------------------------------------------------- /user_operation/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/user_operation/views.py -------------------------------------------------------------------------------- /users/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /users/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/users/admin.py -------------------------------------------------------------------------------- /users/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/users/apps.py -------------------------------------------------------------------------------- /users/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/users/migrations/0001_initial.py -------------------------------------------------------------------------------- /users/migrations/0002_auto_20181110_1759.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/users/migrations/0002_auto_20181110_1759.py -------------------------------------------------------------------------------- /users/migrations/0003_profile_is_third.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/users/migrations/0003_profile_is_third.py -------------------------------------------------------------------------------- /users/migrations/0004_auto_20190117_1222.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/users/migrations/0004_auto_20190117_1222.py -------------------------------------------------------------------------------- /users/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /users/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/users/models.py -------------------------------------------------------------------------------- /users/permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/users/permissions.py -------------------------------------------------------------------------------- /users/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/users/serializers.py -------------------------------------------------------------------------------- /users/tests.py: -------------------------------------------------------------------------------- 1 | # Create your tests here. 2 | -------------------------------------------------------------------------------- /users/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/users/urls.py -------------------------------------------------------------------------------- /users/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luoxh8/django_project/HEAD/users/views.py --------------------------------------------------------------------------------