Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django-q from other django project in script #443

Closed
c-goosen opened this issue Jun 3, 2020 · 3 comments
Closed

Django-q from other django project in script #443

c-goosen opened this issue Jun 3, 2020 · 3 comments

Comments

@c-goosen
Copy link

c-goosen commented Jun 3, 2020

Been trying to do something that might be outside of how this project is designed.

I want to use a fresh django project to run a script to create tasks in the queue from amazon lambdas. Our current django project exceeds the 50mb limit of amazon lambdas when all dependencies and files are zipped up.

Currently getting stuck with signatures not being accepted in other project.

Made the secrets and name the same, which gets passed to the loads/dumps function, but no luck yet.

Any suggestions?

Thanks

@Koed00
Copy link
Owner

Koed00 commented Jun 3, 2020 via email

@c-goosen
Copy link
Author

c-goosen commented Jun 3, 2020

I have half a dozen staging apps running with the same secret and name at any given time. That should just work. You're definitely on the right track.

On Wed, Jun 3, 2020 at 10:42 AM crypticGøøse @.***> wrote: Been trying to do something that might be outside of how this project is designed. I want to use a fresh django project to run a script to create tasks in the queue from amazon lambdas. Our current django project exceeds the 50mb limit of amazon lambdas when all dependencies and files are zipped up. Currently getting stuck with signatures not being accepted in other project. Made the secrets and name the same, which gets passed to the loads/dumps function, but no luck yet. Any suggestions? Thanks — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#443>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6AQNKII7IKZDXLH4Y5NULRUYEIVANCNFSM4NROOYQQ .

Thanks, let me have another try, might have missed something.

@c-goosen
Copy link
Author

Thanks figured it out both with django-extensions and just a normal script. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants