You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have used that url endpoint in other pages that are frozen, it should automatically follow those urls and freeze them.
Else if you want to force it, you can use @freezer.register_generator in a few different ways (but bear in mind users would then have to know to type the url directly into the browser to access them as you're not linking to these pages from anywhere). Here's one implementation
@freezer.register_generator
def blog_pages_generator():
for page_object in pages:
yield url_for(page, page=page_object)
So, I am making a blog and I am trying to freeze it with Frozen-Flask. I have the following URL generator in my code:
How can I make Frozen-Flask register the URL generator?
The text was updated successfully, but these errors were encountered: