GithubHelp home page GithubHelp logo

Comments (6)

eykd avatar eykd commented on July 17, 2024

Well, I just discovered the PROJECT_APPS setting. Perhaps this could be documented? :)

from django-jenkins.

starenka avatar starenka commented on July 17, 2024

PROJECT_APPS is documented right here https://github.com/kmmbvnr/django-jenkins/blob/master/README.md ;) Altough I've missed django-hudson's EXCLUDED_TESTS which I've added in my fork https://github.com/starenka/django-jenkins I think blacklisting is more easy, because it doesn't force you to edit setting whenever you make another app.

from django-jenkins.

kmmbvnr avatar kmmbvnr commented on July 17, 2024

edit setting whenever you make another app.

You have to include new app to settings anyway.

INSTALLED_APPS += PROJECT_APPS works good enough.

from django-jenkins.

starenka avatar starenka commented on July 17, 2024

Nice tip, thanks. Yet still this cannot help me if I want to exclude f.e. Django tests, tho (which was the impulse to add EXCLUDED_TESTS for me)

from django-jenkins.

kmmbvnr avatar kmmbvnr commented on July 17, 2024

You don't get it.

PROJECT_APPS is the white list, INSTALLED_APPS is the black list,
INSTALLED_APPS += PROJECT_APPS makes django happy.

No duplicate apps names anywhere.

from django-jenkins.

starenka avatar starenka commented on July 17, 2024

Oh I see now. Silly me. Still I prefer having EXCLUDED_TESTS in my settings/test.py and leave settings/base.py as close to the standard Django settings as possible (which means not adding INSTALLED_APPS += PROJECT_APPS and such)

from django-jenkins.

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.