Comments (3)
That sounds like some value that is being used in the object's def __str__
or def unicode
function is missing. Did you somehow manage to create an instance where an important mandatory field is missing?
Your data dump is not really helpful to trace down the issue. Would be better to get a traceback with filenames and line-numbers.
Can you remember what you did to get to this error? Did you just pip install the app, and then created your first object? What fields did you fill out when you tried to create the object?
from django-booking.
I created a booking from /booking/create page and then tried to view bookings from admin page.
Maybe that value booking_status is not set anywhere.
TypeError at /admin/booking/booking/
coercing to Unicode: need string or buffer, NoneType found
Request Method: GET
Request URL: /admin/booking/booking/
Django Version: 1.10.1a1
Exception Type: TypeError
Exception Value:
coercing to Unicode: need string or buffer, NoneType found
Exception Location: /var/django-env/lib/python2.7/site-packages/Django-1.10.1a1-py2.7.egg/django/utils/encoding.py in force_text, line 78
Python Executable: /usr/bin/python
Python Version: 2.7.10
Python Path:
['/lib/python2.7/site-packages',
'/var/django-env/lib/python2.7/site-packages',
'/var/django-env/lib/python2.7/site-packages/Django-1.10.1a1-py2.7.egg',
'/var/django-env/lib/python2.7/site-packages/django_hvad-1.6.0-py2.7.egg',
'/usr/lib64/python27.zip',
'/usr/lib64/python2.7',
'/usr/lib64/python2.7/plat-linux2',
'/usr/lib64/python2.7/lib-tk',
'/usr/lib64/python2.7/lib-old',
'/usr/lib64/python2.7/lib-dynload',
'/usr/lib64/python2.7/site-packages',
'/usr/lib64/python2.7/site-packages/gtk-2.0',
'/usr/lib/python2.7/site-packages',
'/var/www/mysite',
'/var/django-env/lib/python2.7/site-packages']
Server time: Mon, 22 Aug 2016 20:07:09 +0000
from django-booking.
Closing this for inactivity, feel free to re-open if it still is a problem.
from django-booking.
Related Issues (10)
- international HOT 3
- Problem with migration HOT 5
- Doesnt work for Django > 2.0? HOT 3
- Can this be used for Slot Booking?
- Missing base.html HOT 3
- Does this work with Django 1.8.2 HOT 6
- migration doesn't work HOT 1
- migration doesn't work for me neither HOT 3
- create the view booking.forms.BookingIDAuthenticationForm. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-booking.