The short answer:

You don't.

What is your use case? Why do you want to do this? Django is run on a
server and only the devops should have access to updating / looking at the
django files.

You CAN use only the pyc files - but it's more bother than it's worth and
the pyc files can be returned to py format as well.

Regards,

Andréas


Den tors 15 nov. 2018 kl 13:28 skrev HEMENDRA SINGH HADA <
[email protected]>:

> As we know python is interpreted language and we've to give it in readable
> format ? But how we can secure those files for production release so
> customer can't change it or modify it ? As like in Bin in C++, jar in JAVA
> and .exe in .Net
>
>
> https://stackoverflow.com/questions/53313395/how-can-we-secure-django-python-files-for-production-release
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/886b0ecc-f944-4088-b82a-945fc38a9fb3%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/886b0ecc-f944-4088-b82a-945fc38a9fb3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCd%3DMBC-jbqF0%2BkKybi0mwfYSuoSJGNdgetYAyPXGp2yUg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to