Skip to content

Commit 36da02e

Browse files
authored
v3.3.1 (#169)
1 parent 4fc2c8a commit 36da02e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+56
-55
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion

docs/python/auth-required-attribute.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from reactpy import component, html
2-
32
from reactpy_django.decorators import auth_required
43

54

docs/python/auth-required-component-fallback.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from reactpy import component, html
2-
32
from reactpy_django.decorators import auth_required
43

54

docs/python/auth-required-custom-attribute.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from reactpy import component, html
2-
32
from reactpy_django.decorators import auth_required
43

54

docs/python/auth-required-vdom-fallback.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from reactpy import component, html
2-
32
from reactpy_django.decorators import auth_required
43

54

docs/python/auth-required.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from reactpy import component, html
2-
32
from reactpy_django.decorators import auth_required
43

54

docs/python/configure-asgi-middleware.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
# Broken load order, only used for linting
22
from channels.routing import ProtocolTypeRouter, URLRouter
3-
43
from reactpy_django import REACTPY_WEBSOCKET_PATH
54

6-
75
django_asgi_app = ""
86

97

108
# start
119
from channels.auth import AuthMiddlewareStack # noqa: E402
1210
from channels.sessions import SessionMiddlewareStack # noqa: E402
1311

14-
1512
application = ProtocolTypeRouter(
1613
{
1714
"http": django_asgi_app,

docs/python/configure-asgi.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from django.core.asgi import get_asgi_application
44

5-
65
# Ensure DJANGO_SETTINGS_MODULE is set properly based on your project name!
76
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "example_project.settings")
87

@@ -11,10 +10,8 @@
1110

1211

1312
from channels.routing import ProtocolTypeRouter, URLRouter # noqa: E402
14-
1513
from reactpy_django import REACTPY_WEBSOCKET_PATH # noqa: E402
1614

17-
1815
application = ProtocolTypeRouter(
1916
{
2017
"http": django_asgi_app,

docs/python/configure-urls.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from django.urls import include, path
22

3-
43
urlpatterns = [
54
...,
65
path("reactpy/", include("reactpy_django.http.urls")),

docs/python/django-css.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from reactpy import component, html
2-
32
from reactpy_django.components import django_css
43

54

0 commit comments

Comments
 (0)