GithubHelp home page GithubHelp logo

radhesh-sarma / resource-sharing-portal Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 24.13 MB

Web portal to help people connect with each other and share resources and goods.

License: MIT License

Python 0.33% HTML 88.41% CSS 3.02% JavaScript 6.21% C++ 0.01% Makefile 0.03% Common Lisp 0.13% TeX 1.73% Batchfile 0.01% Roff 0.12%
python django html

resource-sharing-portal's Introduction

Resource Sharing website

Web portal to help people connect with each other and share resources and goods.

Getting Started

You need to install these :

To download the repo use :

    git clone https://github.com/Radhesh-Sarma/Resource-Sharing-Website.git

Installation

  1. Install Postgresql for your os

  2. Install the virtual environment

    pip install pipenv
  1. Activate the virtual env
    pipenv shell
  1. Download the dependencies
    pipenv install

5.Set up the initial migration build the database.

  python manage.py makemigrations
  python manage.py migrate
  1. Create a superuser:
  python manage.py createsuperuser
  1. Confirm everything is working:
  python manage.py runserver

Authors

To be added

License

License

resource-sharing-portal's People

Contributors

radhesh-sarma avatar samael042 avatar simran-sahni avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

simran-sahni

resource-sharing-portal's Issues

HTML Tags in table

HTML Tags displayed in content of table in blog/templates/blog/task_list.html in branch nikhil_editor

SMTPAuthenticationError at /accounts/login/

I encounter this strange when I try to login.
requirements.txt

Environment:

Request Method: POST
Request URL: http://127.0.0.1:8000/accounts/login/

Django Version: 3.0.3
Python Version: 3.7.4
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites',
'allauth',
'allauth.account',
'crispy_forms',
'debug_toolbar',
'blog.apps.BlogConfig',
'django_user_agents',
'users',
'pages',
'captcha']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'debug_toolbar.middleware.DebugToolbarMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'users.middleware.ipaddress',
'django_user_agents.middleware.UserAgentMiddleware',
'blog.middleware.email']

Traceback (most recent call last):
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
response = get_response(request)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\django\views\generic\base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\django\utils\decorators.py", line 43, in _wrapper
return bound_method(*args, **kwargs)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\django\views\decorators\debug.py", line 76, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\allauth\account\views.py", line 138, in dispatch
return super(LoginView, self).dispatch(request, *args, **kwargs)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\allauth\account\views.py", line 81, in dispatch
**kwargs)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
return handler(request, *args, **kwargs)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\allauth\account\views.py", line 104, in post
response = self.form_valid(form)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\allauth\account\views.py", line 151, in form_valid
return form.login(self.request, redirect_url=success_url)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\allauth\account\forms.py", line 197, in login
redirect_url=redirect_url)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\allauth\account\utils.py", line 155, in perform_login
send_email_confirmation(request, user, signup=signup)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\allauth\account\utils.py", line 323, in send_email_confirmation
signup=signup)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\allauth\account\models.py", line 58, in send_confirmation
confirmation.send(request, signup=signup)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\allauth\account\models.py", line 163, in send
get_adapter(request).send_confirmation_mail(request, self, signup)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\allauth\account\adapter.py", line 450, in send_confirmation_mail
ctx)
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\allauth\account\adapter.py", line 137, in send_mail
msg.send()
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\django\core\mail\message.py", line 276, in send
return self.get_connection(fail_silently).send_messages([self])
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\django\core\mail\backends\smtp.py", line 102, in send_messages
new_conn_created = self.open()
File "C:\Users\Nikhil\Anaconda3\lib\site-packages\django\core\mail\backends\smtp.py", line 69, in open
self.connection.login(self.username, self.password)
File "C:\Users\Nikhil\Anaconda3\lib\smtplib.py", line 730, in login
raise last_exception
File "C:\Users\Nikhil\Anaconda3\lib\smtplib.py", line 721, in login
initial_response_ok=initial_response_ok)
File "C:\Users\Nikhil\Anaconda3\lib\smtplib.py", line 642, in auth
raise SMTPAuthenticationError(code, resp)

Exception Type: SMTPAuthenticationError at /accounts/login/
Exception Value: (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials w128sm44187040pgb.55 - gsmtp')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.