mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-12-19 07:15:04 +01:00
remove trailing whitespaces
This commit is contained in:
@@ -15,7 +15,7 @@ This works by creating a child logger of the extension logger which propagates a
|
||||
to the parent (extensions) logger.
|
||||
|
||||
## Changing the Logging Level
|
||||
By default, the extension logger's level is set to `DEBUG`.
|
||||
By default, the extension logger's level is set to `DEBUG`.
|
||||
To change this, uncomment (or add) the following line in `local.py`.
|
||||
|
||||
```python
|
||||
|
||||
@@ -12,8 +12,8 @@ To register a UrlHook class you would do the following:
|
||||
@hooks.register('url_hook')
|
||||
def register_urls():
|
||||
return UrlHook(app_name.urls, 'app_name', r^'app_name/')
|
||||
|
||||
|
||||
|
||||
|
||||
The `UrlHook` class specifies some parameters/instance variables required for URL pattern inclusion.
|
||||
|
||||
`UrlHook(urls, app_name, base_url)`
|
||||
@@ -36,7 +36,7 @@ The app's `urls.py` would look like so:
|
||||
|
||||
from django.conf.urls import url
|
||||
import plugin.views
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
url(r^'index$', plugins.views.index, name='index'),
|
||||
]
|
||||
|
||||
@@ -366,7 +366,7 @@ Here is an example debug config for Celery:
|
||||
"module": "celery",
|
||||
"cwd": "${workspaceFolder}/myauth",
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"args": [
|
||||
"-A",
|
||||
"myauth",
|
||||
"worker",
|
||||
@@ -391,7 +391,7 @@ Finally it makes sense to have a dedicated debug config for running unit tests.
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/myauth/manage.py",
|
||||
"args": [
|
||||
"test",
|
||||
"test",
|
||||
"--keepdb",
|
||||
"--debug-mode",
|
||||
"--failfast",
|
||||
|
||||
@@ -12,13 +12,13 @@ clients
|
||||
===========
|
||||
|
||||
.. automodule:: esi.clients
|
||||
:members: esi_client_factory
|
||||
:members: esi_client_factory
|
||||
:undoc-members:
|
||||
|
||||
decorators
|
||||
===========
|
||||
|
||||
.. automodule:: esi.decorators
|
||||
.. automodule:: esi.decorators
|
||||
:members:
|
||||
:undoc-members:
|
||||
|
||||
|
||||
@@ -10,5 +10,5 @@ auth_utils
|
||||
===========
|
||||
|
||||
.. automodule:: allianceauth.tests.auth_utils
|
||||
:members:
|
||||
:members:
|
||||
:undoc-members:
|
||||
|
||||
Reference in New Issue
Block a user