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 21,332 public repositories matching this topic...

rpkilby
rpkilby commented Jun 19, 2019

Jumping to a subsection via the sidenav will sometimes cause the page header to overlap the anchor point. When navigation is working correctly, there's a perceptible flicker/jump, so I'm guessing javascript is being used to calculate the offsets. Looking at mkdocs's docs, this isn't an issue. I'm wondering if this is something that will be fixed by upgrading mkdocs (#6623), or if it's a theme issu

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"
lennarddevries
lennarddevries commented Mar 27, 2020

Issue Summary

While editing a page in IE11 I'm unable to add blocks to a StreamFields. Clicking the '+' button only triggers focus outline for the block above

Steps to Reproduce

  1. Set up fresh bakerydemo instance
  2. Create a new blogpost instance
  3. Add a block through the + button

![ezgif com-video-to-gif](https://user-images.githubusercontent.com/7124952/77750214-b4572e00-70

zaskan
zaskan commented Apr 27, 2020
ISSUE TYPE

When a playbook is not valid but its filename is specified using a rest api enpoint, (e.g using job_templates endpoint) the system returns "Playbook not found for project".

SUMMARY

Error "Playbook not found for project", suggest users that yaml file doesn't exist at specified playbook path. In this particular situation error message like "Playbook specified doesn't cont

saleor
purpledot
purpledot commented Jan 27, 2020

What I'm trying to achieve

Create checkout with a checkout line.

Steps to reproduce the problem

  1. checkout = Checkout.objects.create(...)
  2. checkout.lines.create(...) or CheckoutLine.objects.create(checkout=checkout, ...)

OR

  1. checkout = Checkout.objects.create(...)
  2. if checkout: pass

What I expected to happen

Database insertion without additional coun

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

timgl
timgl commented May 5, 2020

Is your feature request related to a problem? Please describe.

I want to export a list of events as CSV.

Describe the solution you'd like
Whenever there's an EventTable, I'd like a button to export the currently filtered list by CSV.

Additional context
This should be pretty easy, see #441. It is worth putting in a sensible limit (10k?) to avoid exporting the entire database.

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

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.