• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
S
S
Sergey2016-11-16 11:41:09
Django
Sergey, 2016-11-16 11:41:09

How to terminate a script in Django?

I try
exit() like this,
but it calls an exception, and I would like to end the script.

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Report
E
Egor Kazantsev, 2016-11-24
@saintbyte

Make a return from the handle function.

Similar questions
E
Elizabeth Lawrence2017-09-16 16:51:50
Payment by card for more than 60,000 rubles without the need to use an online cashier? 2Reply
Y
Yeldos Adetbekov2017-02-25 20:46:52
Why is time misbehaving in django? 2Reply
N
NyxDeveloper2021-02-25 10:08:53
How to give image url to drf as link to image? 1Reply
X
xSkyFoXx2015-02-24 16:45:35
How to do inline editing in django admin for related models? Is it even possible? 1Reply
R
raxer2021-02-26 12:46:21
When creating an object through the Django Rest Framework, how to specify the associated field by the specified field? 0Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners