Falldog / pyconcrete

Protect your python script, encrypt it as .pye and decrypt when import it
Apache License 2.0
702 stars 150 forks source link

Django encryption #18

Closed ppiccolo closed 7 years ago

ppiccolo commented 7 years ago

Hello,

I like to know if is possible to encrypt also a Django/Celery project ?

Thanks

Falldog commented 7 years ago

@ppiccolo I'm not sure celery project with pyconcrete

I think it should be worked for django + uwsgi

uwsgi entry point should be wsgi.py of django project, need take care below

I think I will add an example for django project in pyconcrete source in future

ppiccolo commented 7 years ago

Ok I'll give it a try.

Thank you

Falldog commented 7 years ago

Already add an example for Django, close this issue.

Nanthasekar commented 1 year ago

How to run migration using pyconcrete in Django

Falldog commented 1 year ago

leave manager.py & wsgi.py as plaintext file (non encrypted) follow the README, pyconcrete should be importted in the entry file and you can just execute as below

$ ./manage.py migrate
Nanthasekar commented 1 year ago

it's working.

Thanks you