-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Adding option for creating template of Positron (Django or Static) #69
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment inline about the specifics of this template; however, I think there's a bigger design issue to tackle. See beeware/briefcase#392 for details.
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/ | ||
|
||
# SECURITY WARNING: keep the secret key used in production secret! | ||
SECRET_KEY = 'django-insecure-86kqbg4s&53!bmq5)pd0hg@a%7b1pn_7&yw(tljy=xh12*!_u$' # noqa: E501 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be generated by the template, rather than hard-coded with a warning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can also strip back the code to not include those generate by Django, anyway, will close this PR
I am using this for the quick demo for now, will open a new PR when there is a solution for the GUI framework plug-in described in beeware/briefcase#1288 |
Added option to create a project using Django or Static Position (supported by Toga). I will be using it for my tutorial but I don't know if it is useful to push back upstream - feel free to have a look and discuss.
PR Checklist:
Happy to add tests and docs if it is desired upstream, let's talk about it.