management/render_processing.py
def init_rendered_values(self, context):
        """
        for values that are going to be populated by jinja
        this will populate/repopulate based on the currently known context
        """
        self._rendered_data = self._data.copy()
        for m_path, items in self._data["context"].items():
            mod = import_module(m_path)
            for i in items:
                context[i] = getattr(mod, i)

        self.params = self.get_rendered_parameters(context)
        rendered_properties = ["title", "slug"]
        context = {**self.params, **context}
        for r in rendered_properties:
            self._rendered_data[r] = render(self._rendered_data[r], context)
        self.slug = self._rendered_data["slug"]
        self.title = self._rendered_data["title"]

        for values that are going to be populated by jinja
        this will populate/repopulate based on the currently known context
        
for values that are going to be populated by jinja
this will populate/repopulate based on the currently known context
for values that are going to be populated by jinja this will populate / repopulate based on the currently known context
def init_rendered_values(self, context):
        self._rendered_data = self._data.copy()
        for m_path, items in self._data["context"].items():
            mod = import_module(m_path)
            for i in items:
                context[i] = getattr(mod, i)
        self.params = self.get_rendered_parameters(context)
        rendered_properties = ["title", "slug"]
        context = {**self.params, **context}
        for r in rendered_properties:
            self._rendered_data[r] = render(self._rendered_data[r], context)
        self.slug = self._rendered_data["slug"]
        self.title = self._rendered_data["title"]
def init_rendered_values ( self , context ) : self . _rendered_data = self . _data . copy ( ) for m_path , items in self . _data [ "context" ] . items ( ) : mod = import_module ( m_path ) for i in items : context [ i ] = getattr ( mod , i ) self . params = self . get_rendered_parameters ( context ) rendered_properties = [ "title" , "slug" ] context = { ** self . params , ** context } for r in rendered_properties : self . _rendered_data [ r ] = render ( self . _rendered_data [ r ] , context ) self . slug = self . _rendered_data [ "slug" ] self . title = self . _rendered_data [ "title" ]
for values that are going to be populated by jinja
this will populate/repopulate based on the currently known context
for values that are going to be populated by jinja this will populate / repopulate based on the currently known context
"""
        for values that are going to be populated by jinja
        this will populate/repopulate based on the currently known context
        """
self
context