django-fastdev
django-fastdev copied to clipboard
An app to make it faster and more fun to develop in Django
It would be very cool if the crash page on missing migrations would have a button to makemigrations+migrate! Example error ``` ProgrammingError at /admin/store/product/1/edit/ column store_product.amount_limit does not exist LINE...
The current error in django is: ``` TypeError: cannot unpack non-iterable int object ``` If you do `User.objects.get('123')` you get: ``` ValueError: too many values to unpack (expected 2) ```
We should suggest the correct filename. For example today I tried "foo.html" and it should have been "foo/foo.html" ('foo' being unique!). Running over all of the directories and doing some...
Similarly to #1 we should be able to guess what the programmer was trying to do 90% of the time with some simple heuristics and Levenshtein distance.
[virtualenv](https://virtualenv.pypa.io/en/latest/) drops an "ignore all" `.gitignore` file into any virtualenvs it creates: ``` $ cat .venv/.gitignore # created by virtualenv automatically * ``` This feature will probably be upstreamed in...
Seems like the devs at Wagtail are not using fastdev! While I'll check with them to fix the undefined tag, I'm sure that's not the only exception. It would be...
I have a whole bunch of templates that rely on the "empty resolves to false" behavior. Specifically setting some HTML class attribute defaults ``` class="{{height|default:'h-5'}} {{width|default:'w-5'}} {{color|default:'text-blue-500'}}" ``` Just wondering...
I'd like to use something like `{% fastdev ignore %}` and `{% fastdev endignore %}` or similar to mark specific areas that I'd like to not check for. When using...
Hello, I discovered this and I like it. The problem is, I discovered it tool late, I've been already working on my application and turning this on, will immediately throw...