requires python > 3 django 1.9
After cloning repo
cd Carpool
python manage.py makemigrations
python manage.py migrate
creates the admin account
python manage.py createsuperuser
Username:
Email Address:
Password:
Password (again):
###Coniguring Email -Open settings.py
#replace with gmail username and password or comment out to ignore the email
STATIC_URL = '/static/'
ACCOUNT_ACTIVATION_DAYS=7
EMAIL_HOST='smtp.gmail.com'
EMAIL_USE_TLS=1
EMAIL_PORT=587
EMAIL_HOST_USER=''
EMAIL_HOST_PASSWORD=''
-Open views.py line 85 edit the email address there or comment out the line to ignore sending emails in contact form
def contact(request):
if request.method == 'POST':
name = request.POST['username']
email = request.POST['email']
website = request.POST['website']
message = request.POST['message']
send_message = '''
Name : %s
Email : %s
Website : %s
Message : %s
''' % (name, email, website, message)
send_mail('Contact Form Message From We ride', send_message, 'blackgeeknerd@gmail.com', ['blackgeeknerd@gmail.com'])
if request.user.is_authenticated():
return render(request, 'app/contact_loggedin.html',{'done':True})
else:
return render(request, 'app/contact.html',{'done':True})
if request.user.is_authenticated():
return render(request, 'app/contact_loggedin.html')
else:
return render(request, 'app/contact.html')
python manage.py runserver
Open browser to http://localhost:8000/
- Notifications
- Chat Integration (personal and group messaging)
- Add liscence registration for drivers
- Add Agency registration for hired cars
- Inbox and notification menus
The MIT License (MIT). Please see LICENSE.rst for more information.
Copyright (c) 2022 - 2023 Seyi Majekobaje