Skip to content
#

Django

django logo

Django is a web application framework for Python. It is designed to prioritize principles of reusability and rapid development.

Here are 20,282 public repositories matching this topic...

habeeb555-q
habeeb555-q commented Jan 10, 2020
Request Method: GET
http://127.0.0.1:8000/api/
3.0.2
AssertionError
Using OpenAPIRenderer, but pyyaml is not installed.
/home/admin/DEV/PYTHON/Frameworks/django/HighEndSalesEnv/lib/python3.7/site-packages/rest_framework/renderers.py in init, line 1053
/home/admin/DEV/PYTHON/Frameworks/django/HighEndSalesEnv/bin/python
3.7.5
['/home/admin/DEV/PYTHON/Frameworks/django/HighE
whr845736938
whr845736938 commented Mar 27, 2020

通过一站式安装完jumpserver后,启动jumpserver就会过几分钟服务自动stop,这是为什么。
`- Start Celery as Distributed Task Queue: Ansible
2020-03-27 08:08:47 > Find celery_ansible stopped, retry 2, 17960

  • Start Celery as Distributed Task Queue: Ansible
    2020-03-27 08:09:21 > Find celery_ansible stopped, retry 3, 17980
    --- Logging error ---
    Traceback (most recent call last):
    File "/usr/lib64/python3.7/logging/init.py"
pgpgpg
pgpgpg commented Jan 22, 2018

Context

When deploying a Django app (over 50mb) from a Windows 10 machine the tarball retains the Windows directory separators '\\', when deployed to Lambda this causes the error "No module named 'django.core.wsgi': ModuleNotFoundError"

Expected Behavior

  1. tarball should keep Unix directory separators

Actual

gasman
gasman commented Feb 21, 2020

There are a number of situations where a page is considered live but is not accessible at any URL: namely, when the page is outside of any site root, or (as of #4276) the wagtail_serve URL route has been removed. Various templates in the admin do not check this when linking to live pages, resulting in links that look like <a href="None"> - ones that I found in a very brief search were:

  • wa
saleor
shevyf
shevyf commented Jul 22, 2019

Rocksteady is listed on this page as a tool that can help integrate RabbitMQ with Graphite: https://graphite.readthedocs.io/en/latest/tools.html

However, yhe Rocksteady code base has been moved to the Google Code Archive - http://code.google.com/p/rocksteady/ redirects to https://code.google.com/archive/p/rocksteady/ - and the downloadable package hasn't been updated since 2010. It seems to rel

solarissmoke
solarissmoke commented Jun 13, 2019

The documentation at https://django-oscar.readthedocs.io/en/latest/howto/enforcing_stock_rules.html is incorrect - doing that will cause a 500 error because that exception isn't caught anywhere.

I think we just need to remove this, and instead enhance the [documentation about availability policies](https://django-oscar.readthedocs.io/en/latest/topics/prices_and_availability.html#the-strategy-cl

MrThanlon
MrThanlon commented Sep 23, 2019

在提交issue之前请

  • 认真阅读文档 http://docs.onlinejudge.me/#/
  • 搜索和查看历史issues
  • 安全类问题请不要在 GitHub 上公布,请发送邮件到 admin@qduoj.com,根据漏洞危害程度发送红包感谢。

然后提交issue请写清楚下列事项

 - 进行什么操作的时候遇到了什么问题,最好能有复现步骤
 - 错误提示是什么,如果看不到错误提示,请去data文件夹查看相应log文件。大段的错误提示请包在代码块标记里面。

  • 你尝试修复问题的操作
  • 页面问题请写清浏览器版本,尽量有截图
begonaalvarezd
begonaalvarezd commented Jul 9, 2018

Hello,

I have a Rest API working (all good here) with django-rest-framework and django-rest-framework-jwt.
My problem is that I am trying to access the DRF Built-in API documentation for authenticated users only and I am unable to make it work. It throws me 401 error {u'detail': ErrorDetail(string=u'Authentication credentials were not provided.', code=u'not_authenticated')}.

Below I

sambenas
sambenas commented Jul 16, 2019

If using a custom authentication token model, the related_name cannot be auth_token or that will clash with the default token model related name and the django project will fail to start.

The RegisterView returns an authentication token using user.auth_token. Since the related name for a custom token model had to be changed, user.auth_token does not actually exist.

As a workaround a

gamesbook
gamesbook commented Jun 27, 2017

If this is a bug please specify versions you're using first.

Django version: 1.10.7
Django Suit version: 2.0a1
Python version: 3.5.3

Issue:

overlap

As can be seen, on narrower screens, when there are a number of filters, the filter boxes "wrap around" but the +Add button covers pa

Created by Adrian Holovaty, Simon Willison

Released 21 July 2005

Repository
django/django
Website
www.djangoproject.com
Wikipedia
Wikipedia
You can’t perform that action at this time.