Git repo and Visual Studio 2017

When using Git as the source control system within Visual Studio, if you use a different location to create your local repos than the default it can be a pain to amend it each time. This post will show how the default repo location can be updated… The default location for Git repos in Visual Studio is:C:\users\<user name>\Source\Repos If you […]

C# console app to test return codes

To help test a larger piece of work, I needed a small application that I could pass a return code to that would then simply pass it back. This app would simulate TestExecute so that I can then write some Powershell to work with the return code locally rather than having to run the full application, the idea being that […]

Creating the “polls” Django app

From the online documentation… Projects vs Apps: An app is a web application that does something, a project is a collection of configuration and apps. A project can contain multiple apps and an app can be in multiple projects. Apps can live anywhere on the Python path. Creating the polls app 1) Create the app navigate to same direcotry as […]

Installing python and Django on Windows

Some notes on installing python amd Django on a Windows system. 1) download Anaconda3 (2.4.1) www.continuum.io/downloads * creates full phyton 3.5 environment with data analysis packages 2) check if django is installed C:\Users\john.knight>python -c “import django; print(django.get_version())” Traceback (most recent call last): File “<string>”, line 1, in <module> ImportError: No module named django 3) check the python directory C:\Users\john.knight>where python […]