Code Monkey home page Code Monkey logo

Comments (7)

MohammadSamandar avatar MohammadSamandar commented on June 2, 2024

I deleted this line {% load cms_tags i18n static %} from the default.html but it didn't work

from django-check-seo.

corentinbettiol avatar corentinbettiol commented on June 2, 2024

Try with {% load i18n static %}, it should work.

from django-check-seo.

MohammadSamandar avatar MohammadSamandar commented on June 2, 2024

it's working now. thank you bro.

from django-check-seo.

corentinbettiol avatar corentinbettiol commented on June 2, 2024

I will reopen the issue, since I need to fix this problem; the cms_tags templatetags may not be necessary at all and may be removed soon :)

from django-check-seo.

MohammadSamandar avatar MohammadSamandar commented on June 2, 2024

I now realized that this problem is solved only locally and the problem still remains in production mode. In production mode, the server installs the packages from the requirements.txt file, and the changes I make have no effect.

from django-check-seo.

MohammadSamandar avatar MohammadSamandar commented on June 2, 2024

I manually added this package as a app to the project, but only the "No problem was found on the page!
on the public page" message is displayed

from django-check-seo.

corentinbettiol avatar corentinbettiol commented on June 2, 2024

I now realized that this problem is solved only locally and the problem still remains in production mode. In production mode, the server installs the packages from the requirements.txt file, and the changes I make have no effect.

@MohammadSamandar Hi! I released a new version of django-check-seo (0.6.3) with the fix of this issue!

You should be able to install & use django check seo on your prod without any issue now :)


I manually added this package as a app to the project, but only the "No problem was found on the page!
on the public page" message is displayed

If you're not using django-cms you will need to create the "check seo" links yourself on your pages templates. Here's a snippet to get you started (I have not tested it, it may work out of the box):

{% if request.user.is_superuser %}
  <a href="/django-check-seo/?page={{ request.path }}" target="_blank">Check SEO</a>
{% endif %}

This code will add a "check seo" link in your page if you're a superuser, that will display the Django Check SEO page for the current url.

from django-check-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.