New User Authentication Guide (:

2019-08-06 Thread Aaron Harris
Hi all, pretty excited about our new guide to Django User authentication on 
the Kite Blog .
Nice to have a reference if authentication maybe isn't your *favorite* part 
of webdev.
https://kite.com/blog/python/django-authentication/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a2ad325c-6874-4cab-ba2f-e6dc257e3516%40googlegroups.com.


Project Setup Checklist. Found this helpful...

2019-04-25 Thread Aaron Harris
Just curious how your project setup compares here and other resources you 
might suggest. Thanks!!

*Easily Install Django: A Quick Guide*

*Installation*
Assuming you have Python setup with pip – installation is simple. This will 
install Django along with a useful command that will help you get a project 
started quickly.

pip install django
The following command creates the project directory foo/ and creates a 
basic project structure and some initial files.

django-admin startproject foo
Let’s quickly go over each file we created:

Manage.py is the command-line utility that Django provides. It comes with a 
number of commands that are supported out of the box, some of which we’ll 
see later. Some Django applications that you may install later on will add 
commands accessible through this utility, and ultimately you’ll be able to 
add your own as needed.

foo/settings.py is n initial example of a Django settings file that should 
contain all the configuration for your application. If you take a look, you 
will see the default values that set your application up for running in a 
local development environment.

foo/urls.py is the default location for your URL configuration. Essentially 
this provides Django with the rules of how to route requests your 
application receives.

foo/wsgi.py is where the actual WSGI application lives. When running Django 
in production, you’ll want to use a server like uwsgi or green unicorn, 
whose servers interface with the application that resides in this file.

Now that we’ve created the project, let’s take it for a spin. To run the 
built-in development server, run:

./manage.py runserver
You should see some output indicating the settings used and where the 
server is available. Note that by default, it makes the server available at 
http://127.0.0.1:8000. If you go to that address, a default page will load, 
letting you know that you have successfully installed Django. As the page 
indicates, the only reason you’re seeing that page is because the default 
configuration provided in the settings.py file has DEBUG = True. Otherwise, 
trying to reach that page would give you a 404 as your URL configuration in 
urls.py doesn’t route that path to anything within your application.

‍
It's not that long but a bit too much for this post*. The rest is here 
:*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/eef47143-bcf3-4f3d-8642-af8e04eee408%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.