Drew
12/21/2020, 6:22 PMNoel Simela
12/22/2020, 7:47 AMpaltman
12/22/2020, 1:21 PMRichard
01/05/2021, 8:56 AMpython manage.py startproject template ...
Such a starter project replaces what Django would install as it's default template. There seems to be a problem though. It looks like someone started to upgrade the pinax project from Django 2.2 to Django 3. But the upgrade is very inconsistent, which breaks many of the pinax apps.
One starter which works, is the Zero starter app. The downside, it installs (like it's name suggests) almost nothing.
If you want to install a starter project, do the following:
go to https://github.com/pinax/pinax-starter-projects/tree/master
At the upper left, there is a button to switch branches and tags. I says
"master" and select something else. Let's say blog (that seems to work
somehow).
Scroll down to read the Readme.md. To install, for me the following helps:
With python 3.7 on Debian
mkdir blog
cd blog
python -m venv env
source env/bin/activate
pip install wheel
pip install pinax-cli
This installs the pinax client which seems to be a pinax installer.
Now the command:
pinax start blog myblog
That should install the starter-project-template for the blog into the subdirectory myblog.
Now to get it running, do the following:
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
This should install the dependencies, migrate the django database and start the Django debugging server.
As Django says: Navigate your browser to http://localhost:8000 to see what the blog template does.
If, instead you get errors about {% load staticfiles %} than the requirements.txt installed the wrong Django version. Try:
python manage.py version
pip install Django==2.2
python manage.py runserver
That should make it. I typed everything in the way I remembered it. I hope I
did not make mistakes. But that should give you hints on how to get
forward.
Another information:
The documentation states, that the last release of pinax is 18.01 which means January 2018.
I expect that this was stable and consistent.
Does anybody know how to exclude all the newer patches from github? I think
that would help to get something running and from there try to find
out, how everything works.Noel Simela
01/05/2021, 1:26 PMRichard
01/05/2021, 4:19 PMmkdir envEdocument
cd envEdocument/
python -m venv .
source bin/activate
pip install pinax-cli
pinax start document docs
pinax start --dev document docs
but it does not work. I always get: Project document is not found.
And that even with
pinax projects
Release Project
------- ---------------
4.0.4 account
4.0.4 blog
2.0.4 company
documents
social-auth
4.0.4 static
4.0.4 stripe
team-wiki
3.0.4 waitinglist
wiki
4.0.4 zero
lists documents. But without version number. So you have to find another way.lukeburden
01/30/2021, 1:06 AMpaltman
03/21/2021, 5:33 PMNoel Simela
03/22/2021, 1:09 AMmalcolm
04/28/2021, 5:39 AMmalcolm
04/28/2021, 5:42 AMmalcolm
04/28/2021, 5:43 AMNeil Millard
04/28/2021, 7:39 AMNeil Millard
04/28/2021, 7:40 AMpinax-stripe
4.1.0 or greatermalcolm
04/29/2021, 2:38 AMDavid Anyatonwu
05/28/2021, 2:34 PMEric Wesley
08/04/2021, 11:18 PMScott Ford
10/30/2021, 9:06 PMdjango-mailer
. I followed the link to the homepage on github and when reading the README I came across conjobs for the first time.
I'm still working on figuring out web-dev best practices, and I have two main questions:
1. When sending emails, should that always be done asynchronously? I understand that by doing so, you free up for cpu so that your webapp doesn't get bottlenecked on a single requests. And as per the django docs, there's the risk of email enumeration address timing attacks. So based on these factors, it seems like sending emails asynchronously would be a best practice?
2. When setting up a cronjob file, is it necessary to download something like the django-crontab
package?
As for my development environment, I'm using wsl2-ubuntu 20.04 and python 3.8.
Any advice or links to other docs would be greatly appreciated.paltman
11/26/2021, 9:22 PMklaus
02/23/2022, 8:47 AMDalton McMullen
02/28/2022, 9:42 AMFile "/Users/.../python3.10/site-packages/pinax/stripe/apps.py", line 4, in <module>
from django.utils.translation import ugettext_lazy as _
ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation' (/Users/.../python3.10/site-packages/django/utils/translation/__init__.py)
Dalton McMullen
02/28/2022, 9:51 AMgriffines onyango
03/24/2022, 10:15 PMgriffines onyango
03/24/2022, 10:18 PMgriffines onyango
03/24/2022, 10:18 PMhatim makki
10/18/2022, 5:00 AMuser
10/24/2022, 2:30 PMhatim makki
11/07/2022, 11:10 AMuser
11/22/2022, 11:21 AMpinax-referrals
I made serveral Pull request to pinax-referrals
over the last year, mostly essential updates. Now I have discovered potential security risk enabling some low probability phishing attack: https://github.com/pinax/pinax-referrals/issues/71
Would it be please possible Pull these Pull requests and release them?
You can start with https://github.com/pinax/pinax-referrals/pull/68 which updates the project to newest Django and adds CI testing through GitHub actions.paltman
12/03/2022, 5:42 PM