mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-09 23:28:32 +00:00
New laptop for troggle software dev documentation
This commit is contained in:
@@ -58,9 +58,11 @@
|
||||
<h4>Major, minor and releases</h4>
|
||||
<p>Django release 2.2.20 is major-version 2, minor-version 2, and patch-release 20. 2.2 is the "feature release" and patch releases within each feature release are not meant to break anything. They are just to fix bugs.
|
||||
<p>Things <em>will break</em> between <a href="https://docs.djangoproject.com/en/dev/internals/release-process/">feature releases</a> which come out every 8 months.
|
||||
<p>You will come to rely extensively on <a href="https://docs.djangoproject.com/en/3.2/releases/">the release notes and versions documentation</a> which is maintained by django.
|
||||
<p>You will also need to read the django <a href="https://docs.djangoproject.com/en/3.2/howto/upgrade-version/">guide to upgrading to newer versions</a>.
|
||||
|
||||
<h4>Django plugins ("apps")</h4>
|
||||
<p>Documentation for the plugins is highly variable and plugin projects, being run by volunteers, can just die unexpectedly. For django-registration there are two sources of current information:<br />
|
||||
<p>Documentation for the plugins is highly variable and plugin projects, being run by volunteers, can just die unexpectedly. For the django-registration plugin there are two sources of current information:<br />
|
||||
<a href="https://django-registration.readthedocs.io/en/3.1/">Docs: django-registration 3.1</a><br />
|
||||
<a href="https://pypi.org/project/django-registration/">PyPi: django-registration 3.1</a><br />
|
||||
<p>but only one of these (PyPi) gives release history data - which is what you need if you get behind with the django upgrades.
|
||||
@@ -74,8 +76,8 @@
|
||||
<p>There are six critical tricks that make everything much, much easier:
|
||||
<ol>
|
||||
<li>Use <a href="https://docs.python.org/3/library/venv.html">pip venv</a> or virtualenv to set up a virtual python environment within which you can easily and quickly change the specific releases of python, django, django's dependencies and django plugins.
|
||||
With a previously created venv <var>t37</var> start it up like this:<br />
|
||||
<var>cd t37<br />
|
||||
With a previously created venv <var>py37d2</var> start it up like this:<br />
|
||||
<var>cd py37d22<br />
|
||||
source bin/activate<br />
|
||||
python --version<br />
|
||||
cd troggle<br />
|
||||
|
||||
Reference in New Issue
Block a user