forked from rparent/django-lock-tokens
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from lebouquetin/liip-amboss
Liip amboss update - support django 3
- Loading branch information
Showing
5 changed files
with
41 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: lock_tokens\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2021-03-08 08:38-0600\n" | ||
"PO-Revision-Date: 2021-03-08 09:06+0100\n" | ||
"Last-Translator: Liip\n" | ||
"Language: de\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language-Team: \n" | ||
"X-Generator: Poedit 2.3\n" | ||
|
||
msgid "You cannot edit this object, it has been locked. Come back later." | ||
msgstr "Sie können dieses Objekt nicht bearbeiten, es wurde gesperrt. Versuchen Sie es später erneut." | ||
|
||
msgid "Invalid lock, cannot save." | ||
msgstr "Ungültige Sperre, kann nicht gespeichert werden." | ||
|
||
msgid "Lock has expired, cannot save." | ||
msgstr "Die Sperre ist abgelaufen, kann nicht gespeichert werden." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
from django.conf.urls import url | ||
|
||
from django.urls import re_path | ||
from lock_tokens.views import LockTokenDetailView, LockTokenListView | ||
|
||
|
||
app_name = 'lock_tokens' | ||
|
||
urlpatterns = [ | ||
url(r'^(?P<app_label>\w+)/(?P<model>\w+)/(?P<object_id>\d+)/$', | ||
re_path(r'^(?P<app_label>\w+)/(?P<model>\w+)/(?P<object_id>\d+)/$', | ||
LockTokenListView.as_view(), name='list-view'), | ||
url(r'^(?P<app_label>\w+)/(?P<model>\w+)/(?P<object_id>\d+)/(?P<token>\w+)/$', | ||
re_path(r'^(?P<app_label>\w+)/(?P<model>\w+)/(?P<object_id>\d+)/(?P<token>\w+)/$', | ||
LockTokenDetailView.as_view(), name='detail-view'), | ||
] |