The Django Base Site is a Django site that is built using the best Django practices and comes with all the common Django packages that you need to jumpstart your next project.

Overview

Django Base Site

The Django Base Site is a Django site that is built using the best Django practices and comes with all the common Django packages that you need to jumpstart your next project.

Documentation

Documentation is available at http://django-base-site.readthedocs.org/.

Features

Install Requirements

Before setting up a new project make sure you have the following installed:

It's not a requirement, but it is recommended that you install Python using Pyenv with the virtualenvwrapper plugin.

Quickstart

Using the Install Script

Running the following script mostly does the same thing as manual quickstart method. The exception is that the install script has questions to customize your new project setup. Just run the following in your terminal to get started.

$ bash <(curl -s https://raw.githubusercontent.com/epicserve/django-base-site/master/scripts/start_new_project)

Example output:

$ cd ~/Sites
$ bash <(curl -s https://raw.githubusercontent.com/epicserve/django-base-site/master/scripts/start_new_project)

What is the project name slug [example]?
What directory do you want your project in [/Users/brento/Sites/example]?
Are going to use Docker Compose (Y/n)? Y
Are going to Heroku for deployment (Y/n)? Y

Done.

To start Docker Compose run:
$ cd /Users/brento/Sites/example
$ docker-compose up

Manual

$ curl -LOk https://github.com/epicserve/django-base-site/archive/master.zip && unzip master
$ mv django-base-site-master example
$ cd example
$ python -m venv .venv && source .venv/bin/activate
$ pip install -r ./requirements-dev.txt
$ export SECRET_KEY=$(python -c "import random; print(''.join(random.SystemRandom().choice('abcdefghijklmnopqrstuvwxyz0123456789%^&*(-_=+)') for i in range(50)))")
$ cat > .env <<EOF
DEBUG=on
SECRET_KEY='$SECRET_KEY'
EMAIL_URL='smtp://username:[email protected]:587/?ssl=True&_default_from_email=John%20Example%20%3Cjohn%40example.com%3E'
# Uncomment the following if you're using docker-compose
# DATABASE_URL=postgres://postgres@db:5432/postgres
CACHE_URL=redis://redis:6379/0
EOF
$ ./manage.py migrate
$ ./manage.py createsuperuser
$ ./manage.py runserver

Deploy on Heroku

$ git init
$ git add .
$ git commit
$ heroku create
$ heroku addons:create mailgun
$ heroku addons:create rediscloud
$ heroku buildpacks:add --index 1 heroku/nodejs
$ heroku buildpacks:add --index 2 heroku/python
$ function quote {
$     echo $(python3 -c "import urllib.parse, sys; print(urllib.parse.quote('${1}'))")
$ }
$ alias hg='heroku config:get'
$ heroku config:set READ_DOT_ENV_FILE=off \
SECRET_KEY=`python -c "import random; print(''.join(random.SystemRandom().choice('abcdefghijklmnopqrstuvwxyz0123456789%^&*(-_=+)') for i in range(50)))"` \
EMAIL_URL=smtp://$(quote $(hg MAILGUN_SMTP_LOGIN)):$(quote $(hg MAILGUN_SMTP_PASSWORD))@`hg MAILGUN_SMTP_SERVER`:`hg MAILGUN_SMTP_PORT`'/?ssl=True&_default_from_email='$(quote $(hg MAILGUN_SMTP_LOGIN)) \
ALLOWED_HOSTS='*' \
CACHE_URL=`hg REDISCLOUD_URL`
$ git push --set-upstream heroku master
$ heroku run python manage.py migrate
$ heroku run python manage.py createsuperuser    
$ heroku open

Note: Before you'll be able to send email using Mailgun you'll have to setup your Heroku app on a custom domain under Heroku and Mailgun.

Comments
  • Error when trying to commit

    Error when trying to commit

    I get this error message when I want to commit my changes in config/urls.py

    .git/hooks/pre-commit: 5: export: config/urls.py: bad variable name

    Can anyone help me resolve it. I think it has something to do with the type of shell inside the container

    opened by onahkenneth 5
  • Setup error for six package of django.utils

    Setup error for six package of django.utils

    I was following along the docs (https://django-base-site.readthedocs.io/en/latest/setup-and-usage.html) and I got this long error which is occured for django.utils.six while running migrate command. Here is the error log:

    django.core.cache.backends.base.InvalidCacheBackendError: Could not find backend 'redis_cache.RedisCache': cannot import name 'six' from 'django.utils' (/home/tareq/.local/share/virtualenvs/example-Y5_gWTrw/lib/python3.9/site-packages/django/utils/__init__.py)
    

    Python: 3.9 OS: Manjaro Am I missing any config or anything else?

    Complete Error Log:

    Traceback (most recent call last):
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/core/cache/__init__.py", line 39, in create_connection
        backend_cls = import_string(backend)
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/utils/module_loading.py", line 17, in import_string
        module = import_module(module_path)
      File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
      File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
      File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 850, in exec_module
      File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/redis_cache/__init__.py", line 1, in <module>
        from redis_cache.backends.single import RedisCache
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/redis_cache/backends/single.py", line 9, in <module>
        from redis_cache.backends.base import BaseRedisCache
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/redis_cache/backends/base.py", line 18, in <module>
        from redis_cache.utils import get_servers, parse_connection_kwargs, import_class
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/redis_cache/utils.py", line 5, in <module>
        from django.utils import six
    ImportError: cannot import name 'six' from 'django.utils' (/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/utils/__init__.py)
    
    The above exception was the direct cause of the following exception:
    
    Traceback (most recent call last):
      File "/home/tareq/code/explore-dj/wow_djbase/manage.py", line 22, in <module>
        execute_from_command_line(sys.argv)
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
        utility.execute()
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/core/management/__init__.py", line 413, in execute
        self.fetch_command(subcommand).run_from_argv(self.argv)
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/core/management/base.py", line 354, in run_from_argv
        self.execute(*args, **cmd_options)
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 79, in execute
        return super().execute(*args, **options)
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/core/management/base.py", line 393, in execute
        self.check()
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/core/management/base.py", line 419, in check
        all_issues = checks.run_checks(
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/core/checks/registry.py", line 76, in run_checks
        new_errors = check(app_configs=app_configs, databases=databases)
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/core/checks/caches.py", line 63, in check_file_based_cache_is_absolute
        cache = caches[alias]
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/utils/connection.py", line 62, in __getitem__
        conn = self.create_connection(alias)
      File "/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/core/cache/__init__.py", line 41, in create_connection
        raise InvalidCacheBackendError(
    django.core.cache.backends.base.InvalidCacheBackendError: Could not find backend 'redis_cache.RedisCache': cannot import name 'six' from 'django.utils' (/home/tareq/.local/share/virtualenvs/wow_djbase-YT6snu27/lib/python3.9/site-packages/django/utils/__init__.py)
    
    opened by TareqMonwer 2
  • Bump acorn from 6.4.0 to 6.4.1

    Bump acorn from 6.4.0 to 6.4.1

    Bumps acorn from 6.4.0 to 6.4.1.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies javascript 
    opened by dependabot[bot] 2
  • Bump charset-normalizer from 2.1.1 to 3.0.1 in /config/requirements

    Bump charset-normalizer from 2.1.1 to 3.0.1 in /config/requirements

    Bumps charset-normalizer from 2.1.1 to 3.0.1.

    Release notes

    Sourced from charset-normalizer's releases.

    Version 3.0.1

    3.0.1 (2022-11-18)

    Fixed

    • Multi-bytes cutter/chunk generator did not always cut correctly (PR #233)

    Changed

    • Speedup provided using mypy/c 0.990 on Python >= 3.7

    Version 3.0.0

    3.0.0 (2022-10-20)

    Added

    • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
    • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
    • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio
    • normalizer --version now specify if the current version provides extra speedup (meaning mypyc compilation whl)

    Changed

    • Build with static metadata (not pyproject.toml yet)
    • Make language detection stricter
    • Optional: Module md.py can be compiled using Mypyc to provide an extra speedup up to 4x faster than v2.1

    Fixed

    • CLI with opt --normalize fail when using full path for files
    • TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha characters have been fed to it
    • Sphinx warnings when generating the documentation

    Removed

    • Coherence detector no longer returns 'Simple English' instead returns 'English'
    • Coherence detector no longer returns 'Classical Chinese' instead returns 'Chinese'
    • Breaking: Method first() and best() from CharsetMatch
    • UTF-7 will no longer appear as "detected" without a recognized SIG/mark (is unreliable/conflicts with ASCII)
    • Breaking: Class aliases CharsetDetector, CharsetDoctor, CharsetNormalizerMatch and CharsetNormalizerMatches
    • Breaking: Top-level function normalize
    • Breaking: Properties chaos_secondary_pass, coherence_non_latin and w_counter from CharsetMatch
    • Support for the backport unicodedata2

    This is the last version (3.0.x) to support Python 3.6 We plan to drop it for 3.1.x

    Version 3.0.0rc1

    This is the last pre-release. If everything goes well, I will publish the stable tag.

    3.0.0rc1 (2022-10-18)

    Added

    • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
    • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
    • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio

    ... (truncated)

    Changelog

    Sourced from charset-normalizer's changelog.

    3.0.1 (2022-11-18)

    Fixed

    • Multi-bytes cutter/chunk generator did not always cut correctly (PR #233)

    Changed

    • Speedup provided by mypy/c 0.990 on Python >= 3.7

    3.0.0 (2022-10-20)

    Added

    • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
    • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
    • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio
    • normalizer --version now specify if current version provide extra speedup (meaning mypyc compilation whl)

    Changed

    • Build with static metadata using 'build' frontend
    • Make the language detection stricter
    • Optional: Module md.py can be compiled using Mypyc to provide an extra speedup up to 4x faster than v2.1

    Fixed

    • CLI with opt --normalize fail when using full path for files
    • TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha character have been fed to it
    • Sphinx warnings when generating the documentation

    Removed

    • Coherence detector no longer return 'Simple English' instead return 'English'
    • Coherence detector no longer return 'Classical Chinese' instead return 'Chinese'
    • Breaking: Method first() and best() from CharsetMatch
    • UTF-7 will no longer appear as "detected" without a recognized SIG/mark (is unreliable/conflict with ASCII)
    • Breaking: Class aliases CharsetDetector, CharsetDoctor, CharsetNormalizerMatch and CharsetNormalizerMatches
    • Breaking: Top-level function normalize
    • Breaking: Properties chaos_secondary_pass, coherence_non_latin and w_counter from CharsetMatch
    • Support for the backport unicodedata2

    3.0.0rc1 (2022-10-18)

    Added

    • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
    • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
    • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio

    Changed

    • Build with static metadata using 'build' frontend
    • Make the language detection stricter

    Fixed

    • CLI with opt --normalize fail when using full path for files
    • TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha character have been fed to it

    ... (truncated)

    Upgrade guide

    Sourced from charset-normalizer's upgrade guide.

    Guide to upgrade your code from v1 to v2

    • If you are using the legacy detect function, that is it. You have nothing to do.

    Detection

    Before

    from charset_normalizer import CharsetNormalizerMatches
    

    results = CharsetNormalizerMatches.from_bytes( '我没有埋怨,磋砣的只是一些时间。'.encode('utf_32') )

    After

    from charset_normalizer import from_bytes
    

    results = from_bytes( '我没有埋怨,磋砣的只是一些时间。'.encode('utf_32') )

    Methods that once were staticmethods of the class CharsetNormalizerMatches are now basic functions. from_fp, from_bytes, from_fp and `` are concerned.

    Staticmethods scheduled to be removed in version 3.0

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 1
  • Bump node from 16.18 to 19.3 in /config/docker

    Bump node from 16.18 to 19.3 in /config/docker

    Bumps node from 16.18 to 19.3.

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies docker 
    opened by dependabot[bot] 1
  • Bump sass from 1.55.0 to 1.57.1

    Bump sass from 1.55.0 to 1.57.1

    Bumps sass from 1.55.0 to 1.57.1.

    Release notes

    Sourced from sass's releases.

    Dart Sass 1.57.1

    To install Sass 1.57.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

    Changes

    • No user-visible changes.

    See the full changelog for changes in earlier releases.

    Dart Sass 1.57.0

    To install Sass 1.57.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

    Changes

    • Add a split($string, $separator, $limit: null) function to sass:string that splits a string into separate substrings based on a separator string.

    JavaScript API

    • Potentially breaking bug fix: Custom functions in both the modern and legacy API now properly reject signatures with whitespace between the function name and parentheses.

    • Custom functions in the legacy API now allow signatures with whitespace before the function name, to match a bug in Node Sass.

    Dart API

    • Potentially breaking bug fix: Callable.fromSignature() and AsyncCallable.fromSignature() now reject signatures with whitespace between the function name and parentheses.

    See the full changelog for changes in earlier releases.

    Dart Sass 1.56.2

    To install Sass 1.56.2, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

    Changes

    Embedded Sass

    See the full changelog for changes in earlier releases.

    Dart Sass 1.56.1

    To install Sass 1.56.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

    ... (truncated)

    Changelog

    Sourced from sass's changelog.

    1.57.1

    • No user-visible changes.

    1.57.0

    • Add a split($string, $separator, $limit: null) function to sass:string that splits a string into separate substrings based on a separator string.

    JavaScript API

    • Potentially breaking bug fix: Custom functions in both the modern and legacy API now properly reject signatures with whitespace between the function name and parentheses.

    • Custom functions in the legacy API now allow signatures with whitespace before the function name, to match a bug in Node Sass.

    Dart API

    • Potentially breaking bug fix: Callable.fromSignature() and AsyncCallable.fromSignature() now reject signatures with whitespace between the function name and parentheses.

    1.56.2

    Embedded Sass

    1.56.1

    Embedded Sass

    • Importer results now validate that contents is actually a string and whether sourceMapUrl is an absolute URL.

    1.56.0

    • Potentially breaking change: To match the CSS spec, SassScript expressions beginning with not or ( are no longer supported at the beginning of parenthesized sections of media queries. For example,

      @media (width >= 500px) and (not (grid))
      

      will now be emitted unchanged, instead of producing

    ... (truncated)

    Commits
    • 5522c17 Run "dart pub upgrade" rather than "pub upgrade" (#1851)
    • 4349769 Create dependabot.yml (#1849)
    • 100f76f Implement string.split() (#1839)
    • 236b83f Delete dev dependency on Sass when releasing the embedded compiler (#1850)
    • 641d8e1 Be strict about whitespace in custom functions (#1848)
    • e87176a Add a factory method for creating host callable (#1829)
    • 790eb8a Update CHANGELOG for embedded-host-node fixes (#1828)
    • f3293db JS API: Validate that importer result 'contents' is a string and improve Ar...
    • 00c3517 Make `cloneCss() clone modules that transitively contain CSS (#1824)
    • 44d6bb6 Add full support for Media Queries 4 (#1822)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump watchdog from 2.2.0 to 2.2.1 in /config/requirements

    Bump watchdog from 2.2.0 to 2.2.1 in /config/requirements

    Bumps watchdog from 2.2.0 to 2.2.1.

    Release notes

    Sourced from watchdog's releases.

    2.2.1

    • Enable mypy to discover type hints as specified in PEP 561 (#933)
    • [ci] Set the expected Python version when building release files
    • [ci] Update actions versions in use
    • [watchmedo] [regression] Fix usage of missing signal.SIGHUP attribute on non-Unix OSes (#935)

    :heart_decoration: Thanks to our beloved contributors: @​BoboTiG, @​simon04, @​piotrpdev

    Changelog

    Sourced from watchdog's changelog.

    2.2.1

    
    2023-01-01 • `full history <https://github.com/gorakhargosh/watchdog/compare/v2.2.0...v2.2.1>`__
    
    • Enable mypy to discover type hints as specified in PEP 561 ([#933](https://github.com/gorakhargosh/watchdog/issues/933) &lt;https://github.com/gorakhargosh/watchdog/pull/933&gt;__)
    • [ci] Set the expected Python version when building release files
    • [ci] Update actions versions in use
    • [watchmedo] [regression] Fix usage of missing signal.SIGHUP attribute on non-Unix OSes ([#935](https://github.com/gorakhargosh/watchdog/issues/935) &lt;https://github.com/gorakhargosh/watchdog/pull/935&gt;__)
    • Thanks to our beloved contributors: @​BoboTiG, @​simon04, @​piotrpdev
Commits
  • 858c890 Version 2.2.1
  • 37cfcc1 [ci] Set the expected Python version when building release files
  • 6687c99 [watchmedo] [regression] Fix usage of missing signal.SIGHUP attribute on no...
  • da7bc03 doc: time to move forward
  • 68ee5cd Add more files tro MANIFEST.in
  • 293a31e Enable mypy to discover type hints as specified in PEP 561 (#933)
  • 14e95bb [ci] Update actions versions in use
  • 82e3a3b Bump the version to 2.2.1
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependencies python 
opened by dependabot[bot] 1
  • Bump stylelint from 14.14.0 to 14.16.1

    Bump stylelint from 14.14.0 to 14.16.1

    Bumps stylelint from 14.14.0 to 14.16.1.

    Release notes

    Sourced from stylelint's releases.

    14.16.1

    • Fixed: customSyntax resolution with configBasedir (#6536) (@​ybiquitous).
    • Fixed: declaration-block-no-duplicate-properties autofix for !important (#6528) (@​sidx1024).
    • Fixed: function-no-unknown false positives for scroll, -webkit-gradient, color-stop, from, and to (#6539) (@​Mouvedia).
    • Fixed: value-keyword-case false positives for mixed case ignoreFunctions option (#6517) (@​kimulaco).
    • Fixed: unexpected output in Node.js API lint result when any rule contains disableFix: true (#6543) (@​adrianjost).

    14.16.0

    14.15.0

    14.14.1

    • Fixed: declaration-block-no-redundant-longhand-properties false positives for inherit keyword (#6419) (@​kimulaco).
    • Fixed: shorthand-property-no-redundant-values message to be consistent (#6417) (@​fpetrakov).
    • Fixed: unit-no-unknown false positives for *vi & *vb viewport units (#6428) (@​sidverma32).
    Changelog

    Sourced from stylelint's changelog.

    14.16.1

    • Fixed: customSyntax resolution with configBasedir (#6536) (@​ybiquitous).
    • Fixed: declaration-block-no-duplicate-properties autofix for !important (#6528) (@​sidx1024).
    • Fixed: function-no-unknown false positives for scroll, -webkit-gradient, color-stop, from, and to (#6539) (@​Mouvedia).
    • Fixed: value-keyword-case false positives for mixed case ignoreFunctions option (#6517) (@​kimulaco).
    • Fixed: unexpected output in Node.js API lint result when any rule contains disableFix: true (#6543) (@​adrianjost).

    14.16.0

    14.15.0

    14.14.1

    • Fixed: declaration-block-no-redundant-longhand-properties false positives for inherit keyword (#6419) (@​kimulaco).
    • Fixed: shorthand-property-no-redundant-values message to be consistent (#6417) (@​fpetrakov).
    • Fixed: unit-no-unknown false positives for *vi & *vb viewport units (#6428) (@​sidverma32).
    Commits
    • f1146c1 14.16.1
    • 493f562 Prepare release (#6518)
    • 121acce Refactor declaration-block-no-duplicate-properties (#6545)
    • b165c0b Fix unexpected output in Node.js API lint result when any rule contains `di...
    • c0db3fd Fix customSyntax resolution with configBasedir (#6536)
    • cae5880 Add @​linaria/postcss-linaria to list of compatible custom syntaxes (#6535)
    • 4d32d36 Fix function-no-unknown false positives for scroll, -webkit-gradient, `...
    • dacd794 Fix declaration-block-no-duplicate-properties autofix for !important (#6528)
    • e30ec86 Fix value-keyword-case false positives for mixed case ignoreFunctions opt...
    • 11acf31 14.16.0
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump markdown from 3.3.7 to 3.4.1 in /config/requirements

    Bump markdown from 3.3.7 to 3.4.1 in /config/requirements

    Bumps markdown from 3.3.7 to 3.4.1.

    Commits
    • f588d8b Bump version to 3.4.1
    • 3c58126 Fix import issue with importlib.util
    • a884a99 Bump version to 3.4
    • c0f6e5a Move backslash unescaping to treeprocessor
    • 77fb7f1 fixed some spelling mistakes
    • 97359a4 Remove redundant lines from PrettifyTreeprocessor
    • a767b2d Remove previously deprecated objects
    • dc434df Update PrettifyTreeprocessor \<pre>\<code> handling
    • 96d27f1 Add None check to PrettifyTreeprocessor
    • cebe1de Drop support for PY36
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 1
  • Bump stylelint-config-standard-scss from 6.0.0 to 6.1.0

    Bump stylelint-config-standard-scss from 6.0.0 to 6.1.0

    Bumps stylelint-config-standard-scss from 6.0.0 to 6.1.0.

    Release notes

    Sourced from stylelint-config-standard-scss's releases.

    6.1.0

    • Added: postcss as an optional peer dependency.
    Changelog

    Sourced from stylelint-config-standard-scss's changelog.

    6.1.0

    • Added: postcss as an optional peer dependency.
    Commits
    • 3a0ed2f 6.1.0
    • 178db50 Prepare 6.1.0
    • 8a06de6 Update package.json
    • b9096f8 Merge pull request #33 from jnoordsij/add-postcss-peer-dependency
    • b5abaea Add optional postcss peer dependency
    • fb9c5a9 Merge pull request #29 from stylelint-scss/dependabot/npm_and_yarn/jest-29.2.2
    • 4fc38a4 Bump jest from 27.3.1 to 29.2.2
    • ef9d9bd Merge pull request #30 from stylelint-scss/dependabot/npm_and_yarn/stylelint/...
    • 01920c5 Merge pull request #32 from stylelint-scss/drop-node12-from-ci
    • cfa7844 Drop Node 12 from CI
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump botocore from 1.29.37 to 1.29.41 in /config/requirements

    Bump botocore from 1.29.37 to 1.29.41 in /config/requirements

    Bumps botocore from 1.29.37 to 1.29.41.

    Changelog

    Sourced from botocore's changelog.

    1.29.41

    • api-change:cloudfront: Extend response headers policy to support removing headers from viewer responses
    • api-change:iotfleetwise: Update documentation - correct the epoch constant value of default value for expiryTime field in CreateCampaign request.

    1.29.40

    • api-change:apigateway: Documentation updates for Amazon API Gateway
    • api-change:emr: Update emr client to latest version
    • api-change:secretsmanager: Added owning service filter, include planned deletion flag, and next rotation date response parameter in ListSecrets.
    • api-change:wisdom: This release extends Wisdom CreateContent and StartContentUpload APIs to support PDF and MicrosoftWord docx document uploading.

    1.29.39

    • api-change:elasticache: This release allows you to modify the encryption in transit setting, for existing Redis clusters. You can now change the TLS configuration of your Redis clusters without the need to re-build or re-provision the clusters or impact application availability.
    • api-change:network-firewall: AWS Network Firewall now provides status messages for firewalls to help you troubleshoot when your endpoint fails.
    • api-change:rds: This release adds support for Custom Engine Version (CEV) on RDS Custom SQL Server.
    • api-change:route53-recovery-control-config: Added support for Python paginators in the route53-recovery-control-config List* APIs.

    1.29.38

    • api-change:memorydb: This release adds support for MemoryDB Reserved nodes which provides a significant discount compared to on-demand node pricing. Reserved nodes are not physical nodes, but rather a billing discount applied to the use of on-demand nodes in your account.
    • api-change:transfer: Add additional operations to throw ThrottlingExceptions
    Commits
    • eb00ef6 Merge branch 'release-1.29.41'
    • f7e3757 Bumping version to 1.29.41
    • 1a053e4 Update to latest partitions and endpoints
    • c23c074 Update to latest models
    • 88633aa Merge branch 'release-1.29.40'
    • eeb1ad4 Merge branch 'release-1.29.40' into develop
    • dbdd68a Bumping version to 1.29.40
    • 8375a39 Update to latest partitions and endpoints
    • c8288ca Update to latest models
    • 7461f63 Merge branch 'release-1.29.39'
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 1
  • Sign-in tweaks

    Sign-in tweaks

    • Turn off the success message after you've signed in
    • Maybe don't require verification of a user's email when they first sign-up. This is a pain if you haven't setup email on a new system yet. Maybe this could be changed later after a new app/system has setup an email service.
    opened by epicserve 0
  • Tailwind CSS

    Tailwind CSS

    Hi, given its popularity, adding support to Tailwind could be a winning move.

    It's just a suggestion and anyway it can be added later using this application https://github.com/timonweb/django-tailwind

    But I'm curious to know what you think and if it can be feasible.

    👋

    opened by lcfd 1
  • Owner
    Brent O'Connor
    Brent O'Connor
    A python starter package to be used as a template for creating your own python packages.

    Python Starter Package This is a basic python starter package to be used as a template for creating your own python packages. Github repo: https://git

    Mystic 1 Apr 4, 2022
    Python example making use of best practice file structure and multithreading.

    Python example making use of best practice file structure and multithreading.

    Bob 1 Oct 13, 2021
    A project to get you started with Docker and Django.

    Docker Django tl;dr $ git clone [email protected]:erroneousboat/docker-django.git $ docker-compose up Now you can access the application at https://local

    JP Bruins Slot 176 Dec 29, 2022
    Starter project for python based lambda project.

    Serverless Python Starter Starter project for python based lambda project. Features FastAPI - Frontend dev with Hot Reload API Gateway Integration (+r

    null 4 Feb 22, 2022
    Template to quickly start your playwright-python project

    Playwright-python template ?? Template to quickly start your playwright-python project Getting started • Demo • Configuration Getting started Clone th

    Constantin 1 Dec 13, 2021
    A Django project skeleton that is modern and cutting edge.

    {% comment "This comment section will be deleted in the generated project" %} Edge A Fantastic Django project starter. Features Ready Bootstrap-themed

    Arun Ravindran 827 Dec 15, 2022
    Setup a flask project using a single command, right from creating virtual environment to creating Procfile for deployment.

    AutoFlask-Setup About AutoFlask-Setup can help you set up a new Flask Project, right from creating virtual environment to creating Procfile for deploy

    Ashutosh Krishna 1 Oct 21, 2021
    Django starter project with 🔋

    A batteries-included Django starter project. For a production-ready version see the book Django for Professionals. ?? Features Django 3.1 & Python 3.8

    William Vincent 1.5k Jan 8, 2023
    Project template layout for Django 3.0+

    Django 3.0+ project template This is a simple Django 3.0+ project template with my preferred setup. Most Django project templates make way too many as

    José Padilla 649 Dec 30, 2022
    Django project/application starter for lazybones :)

    Django Project Starter Template My custom project starter for Django! I’ll try to support every upcoming Django releases as much as I can! Requirement

    Uğur Özyılmazel 40 Jul 16, 2022
    A boilerplate Django project for quickly getting started.

    The Definitive Django Learning Platform. Django Project Boilerplate This repository is a boilerplate Django project for quickly getting started. Getti

    Le Huynh Long 1 Nov 1, 2021
    Django Webpack starter template for using Webpack 5 with Django 3.1 & Bootstrap 4. Yes, it can hot-reload.

    Django Webpack Starter Hello fellow human. The repo uses Python 3.9.* Django 3.1.* Webpack 5.4.* Bootstrap 4.5.* Pipenv If you have any questions twe

    Ganesh Khade 56 Nov 28, 2022
    A low dependency and really simple to start project template for Python Projects.

    Python Project Template A low dependency and really simple to start project template for Python Projects. HOW TO USE THIS TEMPLATE DO NOT FORK this is

    Yurii Dubinka 5 Jan 21, 2022
    This is a boilerplate for a basic backend app using Python, Django and SQLite, as developed after tutorials with Programming with Mosh

    This is a boilerplate for a basic backend app using Python, Django and SQLite, as developed after tutorials with Programming with Mosh

    Gustavo Catala Sverdrup 1 Jan 7, 2022
    Vue + Django with no compromises. Django Templates and Vue SFCs in harmony without sacrificing the full power of either.

    Cookiecutter Vue Django Vue + Django with no compromise. Cookiecutter Vue Django is a framework for jumpstarting production-ready Django + Vue project

    Mike Hoolehan 122 Dec 22, 2022
    A command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, VueJS projects.

    Cookiecutter A command-line utility that creates projects from cookiecutters (project templates), e.g. creating a Python package project from a Python

    null 18.7k Jan 8, 2023
    Ultimate Django3.2 Template for starting any project from not zero!

    Ultimate Django3.2 Template for starting any project from not zero!

    TheAliBigdeli 37 Dec 20, 2022
    This is the starter for the Flask React project.

    Flask React Project This is the starter for the Flask React project. Getting started Clone this repository (only this branch) git clone https://github

    Jami Travers 5 May 25, 2022
    Open-source full-stack seed project that uses a React UI powered by a simple Flask API Server

    React Flask Authentication Open-source full-stack seed project that uses a React UI powered by a simple Flask API Server.

    App Generator 37 Dec 24, 2022