All Questions
Tagged with python-module django-models
6 questions
2
votes
1
answer
81
views
Is it possible to use the same Django application name in multiple locations within a project?
I have a similar project structure to one below.
project_name/
│
├── apps/
│ ├── items/
│ │ ├── purchases/
│ │ │ ├── migrations/
│ │ │ ├── templates/
│ │ │ ├── __init__.py
│ │...
0
votes
1
answer
359
views
Cannot import name error in Django split models
I have split the Django models into multiple model files following the follow file tree structure,
+-api(app)-+
+-__init__.py
+-models -+
|
...
27
votes
4
answers
15k
views
Django 1.7 conflicting models
I install my application in "project/apps/myapp" folder. Both apps and myapp folders have init.py files(Without any of them there is module missing error). Now I've the error:
Exception Type: ...
0
votes
1
answer
88
views
Loading Django apps for development
So, I've got this set-up in which I installed a django project (the directory containing the settings.py and manage.py) in the site-packages directory of my python installation. I've done this to use ...
0
votes
2
answers
117
views
Duplicate Modules
In a Django app, I have an extra module. So my app is called header and inside it I have a model, view and a header file. Inside of the header file I have a class called resources which does what I ...
1
vote
1
answer
1k
views
Threading in Python : Python 'args' is an invalid keyword argument for this function, why?
I have written code for threading in Python.
It throws the error below.
How should I fix that error?
from django.core.management import setup_environ
import settings
setup_environ(...