Answer the question
In order to leave comments, you need to log in
Code cutter, django example?
Guys, hello.
I read a couple of articles from mailru developers and classmates.
And there was such a term "code cutter". That is, they can include specific code for different users or different versions of mobile devices, and a bunch of other parameters.
That is, purely theoretical, this is all clear, I check the condition I need and turn on or off the code I need.
But there are a couple of questions.
For example, I am writing in django and in order to enable or disable some code, do I not have to write a bunch of conditions in the templates manually? There is probably some more universal solution? And for example, if I want to disable / enable the functionality, I don’t have to change the rules in the templates with handles, but, for example, have some specific place to manage all this.
Who has already faced such an interesting task and how did you solve it? Or do we write everything by hand?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question