mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
stuff working
This commit is contained in:
@@ -6,6 +6,7 @@ from .models import *
|
||||
|
||||
class RecipeTable(tables.Table):
|
||||
id = tables.LinkColumn('edit_recipe', args=[A('id')])
|
||||
name = tables.TemplateColumn("<a href='#' onClick='openRecipe({{record.id}})'>{{record.name}}</a>")
|
||||
|
||||
class Meta:
|
||||
model = Recipe
|
||||
|
||||
Reference in New Issue
Block a user