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 19,399 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
django-cms
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

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

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

sniku
sniku commented Mar 3, 2019

"CMS Plugins" menu in he TextPlugin is always empty for the Description field on the Product model.

03_03_2019__22 41 51

The screenshot above is from the demo, following tutorial.
"CMS Plugins" menu works fine to the Cascade/regular pages.

Is there a workaround for this? As far as I ca

zahessi
zahessi commented Nov 4, 2019

Issue: when default configuration is connected, e.g.

register_urls = [
    path("resend-email/", ResendVerificationEmailView.as_view(), name="resend-email"),
    path('verify-email/', VerifyEmailView.as_view(), name='rest_verify_email'),
    path("", include(registration_urls.urlpatterns)),
]

endpoint /verify-email/ fails on GET method because of redundant declaration of

Created by Adrian Holovaty, Simon Willison

Released 21 July 2005

Repository
django/django
Website
www.djangoproject.com
Wikipedia
Wikipedia

Related Topics

python database crowdbotics
You can’t perform that action at this time.