django-extensions Questions
2
Solved
I am completely new to python as well as to Django. I got a sample Django Rest project. When I run:
python manage.py makemigrations
I get the error:
ImportError: No module named django_extensi...
Condyloid asked 31/5, 2017 at 16:6
5
Solved
I am currently using the latest version of VSCode and Django. Whenever I enable the Django extension by Baptiste Darthenay, HTML autocomplete stops working. If I disable the Django extension and re...
Xavier asked 12/2, 2021 at 14:37
3
Solved
I'm using django-extensions shell_plus command, but it doesn't save the command history (i.e., ↑ does nothing). Any ideas how to fix this?
Eire asked 21/12, 2011 at 22:12
4
Solved
I am trying to access a Jupyter Notebook created with the shell_plus command from django-extensions in a Docker container.
docker-compose -f local.yml run --rm django python manage.py shell_plus -...
Tacket asked 4/6, 2020 at 11:10
2
Solved
I am using the following command to run an ipython notebook server with django:
./manage.py shell_plus --notebook
The server functions as expected. However, I would like to set the port and not ...
Tilt asked 14/4, 2015 at 15:54
2
Solved
I have a class based on TimeStampedModel from django-extentions:
from model_utils.models import TimeStampedModel
class MyClass(TimeStampedModel):
pass
By default in the admin interface the cr...
Strange asked 18/12, 2014 at 10:52
2
In shell_plus, is there a way to automatically import selected helper methods, like the models are?
I often open the shell to type:
proj = Project.objects.get(project_id="asdf")
I want to repl...
Craigie asked 7/10, 2013 at 23:53
1
Solved
How do I use the UUIDField in my model?
If i do
somefield = UUIDField
i get:
UUIDField is not defined.
I do import uuid on top of my models file.
And i have django_extensions in installe...
Zel asked 7/1, 2012 at 21:58
1
© 2022 - 2024 — McMap. All rights reserved.