瀏覽代碼

Merge branch 'main' of https://github.com/wsvincent/awesome-django

Will Vincent 2 年之前
父節點
當前提交
b2edd8372c
共有 6 個文件被更改,包括 28 次插入8 次删除
  1. 1 0
      .gitignore
  2. 3 0
      README.md
  3. 6 4
      _config.yml
  4. 7 0
      docker-compose.override.yml.example
  5. 2 2
      docker-compose.yml
  6. 9 2
      justfile

+ 1 - 0
.gitignore

@@ -64,6 +64,7 @@ _site/
 assets/development.css
 build
 dist
+docker-compose.override.yml
 node_modules
 package-lock.json
 vendor

+ 3 - 0
README.md

@@ -112,6 +112,7 @@ _For a complete listing of all available packages, see [Django Packages](https:/
 - [django-webpack-loader](https://github.com/owais/django-webpack-loader) - Transparently use webpack with Django.
 - [drf-yasg](https://github.com/axnsan12/drf-yasg) - Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
 - [graphene-django](https://github.com/graphql-python/graphene-django) - GraphQL for Django.
+- [graphene-django-filter](https://github.com/devind-team/graphene-django-filter) - Advanced filters implementing and/or/not operators in GraphQL for Django.
 - [django-ninja](https://django-ninja.rest-framework.com/) - Django Ninja - Fast Django REST framework based on type annotations.
 - [django-tastypie](https://github.com/django-tastypie/django-tastypie) - Creating delicious APIs for Django apps since 2010.
 - [drf-spectacular](https://github.com/tfranzel/drf-spectacular) - Sane and flexible OpenAPI 3 schema generation for Django REST framework.
@@ -171,6 +172,7 @@ _For a complete listing of all available packages, see [Django Packages](https:/
 - [django-summernote](https://github.com/summernote/django-summernote) - Summernote is a simple WYSIWYG editor.
 - [django-tinymce](https://github.com/jazzband/django-tinymce) - TinyMCE integration for Django.
 - [django-prose](https://github.com/withlogicco/django-prose) - A light weight editor to content creation.
+- [django-ace](https://github.com/django-ace/django-ace) - ACE integration for Django.
 
 ### Files/Images
 - [django-cleanup](https://github.com/un1t/django-cleanup) - Zero configuration file/image removal for local and remote files.
@@ -188,6 +190,7 @@ _For a complete listing of all available packages, see [Django Packages](https:/
 - [django-shapeshifter](https://github.com/kennethlove/django-shapeshifter) - A class-based view to handle multiple forms in one view.
 
 ### Full-stack frameworks
+- [ReactPy](https://github.com/reactive-python/reactpy) - It's React, but in Python. Insert dynamically rendered Python into Django templates using the [ReactPy-Django module](https://github.com/reactive-python/reactpy-django).
 - [Reactor](https://github.com/edelvalle/reactor/) - Phoenix LiveView, but for Django.
 - [Sockpuppet](https://sockpuppet.argpar.se/) - Build reactive applications with the Django tooling you already know and love.
 - [Unicorn](https://www.django-unicorn.com/) - A reactive component framework that progressively enhances a normal Django view, makes AJAX calls in the background, and dynamically updates the DOM.

+ 6 - 4
_config.yml

@@ -52,13 +52,15 @@ color_scheme: django
 heading_anchors: true
 
 footer_content: >-
-  Please consider supporting Django by making a donation to the 
+  <iframe src="https://django-news.com/embed?color1=ffffff&color2=092e20&color_bg_button=092e20&color_border=ccc&color_button=ffffff&color_links=979797&color_terms=808080&title=Subscribe+to+Django+News" width="450" height="310" frameborder="0" style="max-width: 100%"></iframe>
+
+  <p>Please consider supporting Django by making a donation to the
   <a rel="sponsored" href="https://www.djangoproject.com/fundraising/">Django Software Foundation</a>, 
   sponsoring via <a rel="sponsored" href="https://github.com/sponsors/django">GitHub Sponsors</a>, 
-  or buying <a rel="sponsored" href="https://django.threadless.com/">official merchandise</a>.
+  or buying <a rel="sponsored" href="https://django.threadless.com/">official merchandise</a>.</p>
   
-  Awesome Django is not associated with the Django Software Foundation. 
-  Django is a registered trademark of the Django Software Foundation.
+  <p>Awesome Django is not associated with the Django Software Foundation.<br>
+  Django is a registered trademark of the Django Software Foundation.</p>
 
 # Footer last edited timestamp
 last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter

+ 7 - 0
docker-compose.override.yml.example

@@ -0,0 +1,7 @@
+services:
+
+  devd:
+    # platform: linux/amd64
+
+  jekyll:
+    # platform: linux/amd64

+ 2 - 2
docker-compose.yml

@@ -1,5 +1,3 @@
-version: "3"
-
 services:
 
   devd:
@@ -7,6 +5,7 @@ services:
     command: --livewatch
     expose:
       - 8000
+    init: true
     ports:
       - 8000:8000
     volumes:
@@ -19,6 +18,7 @@ services:
       - BUNDLE_PATH=/usr/local/bundle
     expose:
       - 4000
+    init: true
     ports:
       - 4000:4000
     volumes:

+ 9 - 2
justfile

@@ -4,12 +4,16 @@
 @alex:
 	npx alex README.md
 
+@bootstrap:
+    pip install --upgrade pip pip-tools
+    pip install --upgrade --requirement requirements.in
+
 @build:
     just toc
     bundle exec jekyll build
 
 @down:
-    just down
+    docker-compose down
 
 @lint:
     -curlylint _layouts/
@@ -19,7 +23,10 @@
     # modd --file=modd.conf
     just up ""
 
-@up *ARGS="-d":
+@start *ARGS="-d":
+    just up {{ ARGS }}
+
+@up *ARGS:
     docker-compose up {{ ARGS }}
 
 @toc: