don't forgot to clear thge quyeryset before running this
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
This commit is contained in:
@@ -43,13 +43,13 @@ def create_entry(modeladmin, request, queryset):
|
|||||||
print("simpsons_data_object.create(season=2, episode=3, url='google.com'', seen=True)")
|
print("simpsons_data_object.create(season=2, episode=3, url='google.com'', seen=True)")
|
||||||
#call function to trigger refresh of all deploy
|
#call function to trigger refresh of all deploy
|
||||||
|
|
||||||
@admin.action(description="create_entry")
|
|
||||||
def create_entry(modeladmin, request, queryset):
|
|
||||||
print("simpsons_data_object.create(season=2, episode=3, url='google.com'', seen=True)")
|
|
||||||
#call function to trigger refresh of all deploy
|
|
||||||
|
|
||||||
@admin.action(description="import namespace")
|
@admin.action(description="import namespace")
|
||||||
def import_namespace_admin(modeladmin, request, queryset):
|
def import_namespace_admin(modeladmin, request, queryset):
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# don't forgot to clear thge quyeryset before running this
|
||||||
|
#
|
||||||
import_namespace(namespace_cmm_data_object)
|
import_namespace(namespace_cmm_data_object)
|
||||||
print("simpsons_data_object.create(season=2, episode=3, url='google.com'', seen=True)")
|
print("simpsons_data_object.create(season=2, episode=3, url='google.com'', seen=True)")
|
||||||
#call function to trigger refresh of all deploy
|
#call function to trigger refresh of all deploy
|
||||||
|
|||||||
Reference in New Issue
Block a user