Code Monkey home page Code Monkey logo

Comments (6)

willhardy avatar willhardy commented on June 30, 2024

Are you passing RequestContext to your template?

from django-seo.

dzida avatar dzida commented on June 30, 2024

Yes, I always pass RequestContext (I use following pattern in all my views: return render_to_response('name.html', {...}, context_instance=RequestContext(request)))

from django-seo.

willhardy avatar willhardy commented on June 30, 2024

That is odd, and can you confirm that you are using the following context processor:

django.core.context_processors.request

If you are, can you tell me which version of Django you are currently using?

from django-seo.

willhardy avatar willhardy commented on June 30, 2024

I've changed the way the path is discovered in the templatetag, try it out on your test server and let me know how it goes.

Cheers,

Will

from django-seo.

willhardy avatar willhardy commented on June 30, 2024

Closing this ticket, I believe the last change would have fixed any issues with access to the path. Please reopen if you're still getting an exception.

from django-seo.

dzida avatar dzida commented on June 30, 2024

Yes, now it works fine.
Thanks a lot.

from django-seo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.