Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'NoneType' object has no attribute 'resolve' #4

Open
christopher-abastar opened this issue Jul 6, 2015 · 3 comments
Open

'NoneType' object has no attribute 'resolve' #4

christopher-abastar opened this issue Jul 6, 2015 · 3 comments

Comments

@christopher-abastar
Copy link

Hello folks,

I have encountered this error and spent hours on looking for a fix. I'm using the bootstrap3 examples and eventually run to this problem. Luckily this site has a fix for it:

https://www.bountysource.com/issues/7953344-nonetype-object-has-no-attribute-resolve

         <div class="row">
              <div class="col-lg-12">
                 {{ layout.messages() }}
                 {% set render_ctx = h.resolve_ctx() %} 
                 {% block body %}{% endblock %}
              </div>
          </div>
@mrjoes
Copy link
Owner

mrjoes commented Jul 6, 2015

I think this one was fixed in latest Flask-Admin 1.2.0.

@christopher-abastar
Copy link
Author

I am using 1.2.0 btw.

@Cabalist
Copy link

I also had this issue.
I discovered it when I tried to add form_create_rules to my View.

I had sourced a different base_layout and adding {% set render_ctx = h.resolve_ctx() %} to it fixed my issue.

I am using 1.2.0 as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants