Comments (4)
I'm pretty sure that this same error occurs with the ImageField. Probably anything with a file raises this unhandled exception when the file is empty. Not sure if there are other types of "File Fields" but if there are, they probably all suffer from this.
from django-dump-die.
Yes. I still think we should follow what was said in issue #14 . Now effectively merged into #4 .
That would handle for these kinds of unexpected errors. Or at least make sure we're aware of the most common ones.
from django-dump-die.
This should be fixed via the add_all_django_types_to_test_view branch. Yes. Horrible branch name. Lots of changes there though. Will allow the handling of unexpected exceptions while trying to get attributes for an object. Additionally adds a sample model and sample form to the sample view to allow manual testing of dumping all Django model field types. Should be able to be ported to actual automated tests fairly easily.
from django-dump-die.
Confirmed complete.
from django-dump-die.
Related Issues (20)
- Ctrl+Click with multiple open root elements does not behave as expected HOT 3
- Types Decimal and Date should output useful information
- Filename and LineNo should output for each parent/root object output HOT 1
- Some (all?) "simple type" objects should output type for clarity HOT 1
- In some instances, return value of object functions should be displayed by default
- Object functions with automatic-return-value-output should be customizable
- Outputting function as root dd/dump object does not behave consistently HOT 2
- To be thorough, make sure there is handling for every database-type returned by Django HOT 1
- Class function output should probably show if method is static
- Make the use of deepcopy keep the unique intact for subsequent dumps. HOT 1
- Error when dd-ing a function HOT 5
- CSS Stylings possibly break when used with Bootstrap/AdminLTE HOT 3
- DD of PosixPath objects seem to be very nested and provide mediocre output HOT 3
- Handling of dd/dump outside of request-serving logic HOT 2
- Add option to automatically follow Django relations and query for them. HOT 2
- Dictionary may prevent expansion of elements that should be expandable HOT 1
- Handle OrderedDict data type HOT 1
- Enum display possibly broken in Python 3.11 HOT 2
- Add way to make visual separation between dumped things
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-dump-die.