Git Product home page Git Product logo

cbd's Issues

How to sign up new user ?

Hello, I am new to Django and Python and I come across a problem at the login page of this system. At the login page, user are asked to login, but I can't find a place to sign up new users. How can I sign up new users? Thank you, I appreciate your help.

Unable to install dashboard

Hello,

I am starting to work on a project involving deep learning and cyberbullying detection, and I ran across this dashboard. I tried to make it run locally but I ran into problems. Would you have time to answer a couple of my questions? If would of course contribute my findings to your repository.

Cheers,

Luis

Exception Value: 'NoneType' object has no attribute 'year'

Environment:

Request Method: GET
Request URL: http://127.0.0.1:8000/dashboard/

Django Version: 1.11.20
Python Version: 2.7.16
Installed Applications:
('django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'cbd')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.security.SecurityMiddleware')

Traceback:

File "C:\Python27\lib\site-packages\django\core\handlers\exception.py" in inner
41. response = get_response(request)

File "C:\Python27\lib\site-packages\django\core\handlers\base.py" in _legacy_get_response
249. response = self._get_response(request)

File "C:\Python27\lib\site-packages\django\core\handlers\base.py" in _get_response
187. response = self.process_exception_by_middleware(e, request)

File "C:\Python27\lib\site-packages\django\core\handlers\base.py" in _get_response
185. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "C:\Python27\lib\site-packages\django\contrib\auth\decorators.py" in _wrapped_view
23. return view_func(request, *args, **kwargs)

File "C:\xampp\htdocs\cbd\cbd_project\cbd\views.py" in dashboard
145. sales_by_month_ts = qss.time_series(start, end, interval='months')

File "C:\Python27\lib\site-packages\qsstats_init_.py" in time_series
70. return self._fast_time_series(*(args+[engine]))

File "C:\Python27\lib\site-packages\qsstats_init_.py" in _fast_time_series
106. start, _ = get_bounds(start, interval.rstrip('s'))

File "C:\Python27\lib\site-packages\qsstats\utils.py" in get_bounds
28. day = _to_datetime(_remove_time(dt))

File "C:\Python27\lib\site-packages\qsstats\utils.py" in _remove_time
9. return datetime.datetime(dt.year, dt.month, dt.day, tzinfo=tzinfo)

Exception Type: AttributeError at /dashboard/
Exception Value: 'NoneType' object has no attribute 'year'

is this because of outdated package?

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.