django-production-template's People
Forkers
imanbarati pablondrina henriquelalves gleonardos bemmio globalic sharadm20 pmburu athakur73 asadrazaa1 tridc hassan-boulhilt pranj3006 ziyadmoneep cuongnq0707 shivkumarmca rdfsx sharjil-israr xlovelace musleh0001 biofsphere lupamo3 jchow-hedgedesk voodooluo kazemdolatabadi hombreoso krsh-off adenijialiuadeyemi faizan2700 aniket-89 gestaltsdjango-production-template's Issues
'djdt' is not a registered namespace
on visiting localhost:8000, or localhost:8000/admin/
I get his error
'djdt' is not a registered namespace
Error during template rendering
In template
D:\Python\Django\django-production-template\venv\lib\site-packages\debug_toolbar\templates\debug_toolbar\base.html, error at line 10
'djdt' is not a registered namespace
Improper Configurations
I get this error when I try to import User
Model
(venv) D:\Python\Django\django-production-template\simple>python
Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from django.contrib.auth.models import User
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Python\Django\django-production-template\venv\lib\site-packages\django\contrib\auth\models.py", line 3, in <module>
from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
File "D:\Python\Django\django-production-template\venv\lib\site-packages\django\contrib\auth\base_user.py", line 48, in <module>
class AbstractBaseUser(models.Model):
File "D:\Python\Django\django-production-template\venv\lib\site-packages\django\db\models\base.py", line 108, in __new__
app_config = apps.get_containing_app_config(module)
File "D:\Python\Django\django-production-template\venv\lib\site-packages\django\apps\registry.py", line 253, in get_containing_app_config
self.check_apps_ready()
File "D:\Python\Django\django-production-template\venv\lib\site-packages\django\apps\registry.py", line 135, in check_apps_ready
settings.INSTALLED_APPS
File "D:\Python\Django\django-production-template\venv\lib\site-packages\django\conf\__init__.py", line 82, in __getattr__
self._setup(name)
File "D:\Python\Django\django-production-template\venv\lib\site-packages\django\conf\__init__.py", line 63, in _setup
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
>>>
App structure leads to inexisting templates
It would be great to expand the idea for apps structure with urls.py files properly configured according to this code suggestion (an apps folder within the project root), which I very much appreciate. However, I keep getting template do not exist errors. Does far I have not found the proper way to config my urls paths.
Making this a cookiecutter template ...
... would be the cherry on top :)
See https://github.com/cookiecutter/cookiecutter
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.