Django

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...
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
通过一站式安装完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"
-
Updated
May 6, 2020 - JavaScript
The README at https://github.com/Miserlou/Zappa#custom-aws-iam-roles-and-policies-for-execution talks about using manage_roles: false
to manually set a role for custom permissions.
This along with Miserlou/Zappa#244 led me down a rabbit hole.
However, if all you want to do is restrict the permissions of the Lambda itself, it seems that the partially documented `at
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
- Set up fresh bakerydemo instance
- Create a new blogpost instance
- Add a block through the + button
 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
What I'm trying to achieve
Create checkout with a checkout line.
Steps to reproduce the problem
checkout = Checkout.objects.create(...)
checkout.lines.create(...)
orCheckoutLine.objects.create(checkout=checkout, ...)
OR
checkout = Checkout.objects.create(...)
if checkout: pass
What I expected to happen
Database insertion without additional coun
Description
Using the tutorial found here: http://docs.django-cms.org/en/latest/introduction/05-apphooks.html. Up to step 5, there has n
Describe the bug
The documentation lists a function called roundFunction()
:
https://graphite.readthedocs.io/en/latest/functions.html#graphite.render.functions.roundFunction
Expected behavior
It should be round()
instead of roundFunction()
**Addit
Hi we added a new plugin check for Cabot that allows Cabot to create something similar to https://deadmanssnitch.com/ . It uses redis keys to check for background jobs/processes that fail to check in within a specific interval. Also unlike Deadmansnitch it works with much more granular intervals down to seconds or even larger ones like days.
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
在提交issue之前请
- 认真阅读文档 http://docs.onlinejudge.me/#/
- 搜索和查看历史issues
- 安全类问题请不要在 GitHub 上公布,请发送邮件到
admin@qduoj.com
,根据漏洞危害程度发送红包感谢。
然后提交issue请写清楚下列事项
- 进行什么操作的时候遇到了什么问题,最好能有复现步骤
- 错误提示是什么,如果看不到错误提示,请去data文件夹查看相应log文件。大段的错误提示请包在代码块标记里面。
- 你尝试修复问题的操作
- 页面问题请写清浏览器版本,尽量有截图
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
The timezone would be used for formatting dates by default (in places where we currently use browser's timezone).
The timezone would also be selected by default when configuring cron schedules (as requested in #291)
#929 documents DjangoListField but we also need to document DjangoConnectionField
Configuring a custome dashboard, those properties don't work
self.children.append(modules.RecentActions(
_('Recent Actions'),
10,
draggable=False,
deletable=False,
collapsible=False,
column=0,
order=0
))
self.children.append(modules.LinkList(
_('Support'),
child
-
Updated
Apr 29, 2020 - JavaScript
I find better code about filters than in docs which allow write less code when we declare fields.
Instead of (see http://django-shop.readthedocs.io/en/latest/reference/filters.html#id3):
from django.forms import forms, widgets
import django_filters
from djng.forms import NgModelFormMixin
from myshop.models.product import MyProduct, Manufacturer
class FilterForm(NgModelFormMixin, forms
Using 0
in loop, instead loop counter. When messages added in backend through messages
object from django.contrib
library - it will display only first message with loop length count.
Export events as CSV
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.
https://owais.lone.pw/blog/webpack-plus-reactjs-and-django/
For one 'loaders' is changed to 'rules'
Then:
$ ./node_modules/.bin/webpack --config webpack.config.js
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.resolve has an unknown property 'modulesDirectories'. These properties are vali
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
Hi, according to the following links
https://doc.scrapy.org/en/latest/topics/spiders.html#spiderargs
https://scrapyd.readthedocs.io/en/stable/api.html#schedule-json
Params can be sent to Spider class during initialization, I can't see any place for me to input them.
It will be thankful if this feature added.
Created by Adrian Holovaty, Simon Willison
Released 21 July 2005
- Repository
- django/django
- Website
- www.djangoproject.com
- Wikipedia
- Wikipedia
In reference to getsentry/docker-sentry#210 (comment) it would be great to get a better and more complete documentation on how to work with the getsentry/sentry docker images