Questions tagged [django-project-architect]
21 questions
101
votes
10 answers
What is the best location to put templates in django project?
What is the best location to put templates in django project?

Vishal
- 19,879
- 23
- 80
- 93
8
votes
1 answer
Should I split a big Django project into many apps?
Short version:
I have a Django project under development & testing (not yet into production) which is slowly getting “not-so-small”, and lately I've been wondering about splitting things up to keep it manageable.
Project layout:
The project…

Agos
- 18,542
- 11
- 56
- 70
6
votes
3 answers
How to divide a django project into applications
I want to know how to divide a project having a hierarchical structure into applications. Let's say that I'm trying to build something like github.com.
In github.com, an account has some repositories, which have some features like code, issues, or…
user9486747
3
votes
1 answer
Django - how to run it on a production server?
I am new to Django Project. I have my app moved to my production server and I have it run:
$ python manage.py runserver
>>> Starting gulp watch
>>> gulp watch gulp process on pid 30427
Validating models...
0 errors found
May 18, 2017 -…

Run
- 54,938
- 169
- 450
- 748
1
vote
2 answers
FastCgiModule - An unknown FastCGI error occurred
My django app running on conda environment. I need to deploy the app on IIS server.
To do so I install wfastcgi and configure it.
add Handler mapping I use below path on…

Mohammed Sabbir
- 103
- 1
- 7
1
vote
3 answers
Django Project structure, recommended structure to share an extended auth "User" model across apps?
I'm wondering what the common project/application structure is when the user model extended/sub-classed and this Resulting User model is shared and used across multiple apps.
I'd like to reference the same user model in multiple apps.
I haven't…

monkut
- 42,176
- 24
- 124
- 155
1
vote
1 answer
Django best way to share same user model and database between multiple projects
I have multiple Django projects. Each one has its own installed apps. They do not have the same apps installed.
The thing in common between them all, is that they should use and share the same Custom User model and database.
Which is the right way…

GonzaloN
- 45
- 7
1
vote
1 answer
Where to put static files in Django apps or project
Django supports adding static files at both the application and project level. Where you add them sort of depends on how tied to your specific assembly of apps they are. That is, are they reusable for anyone using your app, or are they specific to…

weather api
- 738
- 2
- 8
- 17
1
vote
1 answer
Two Django projects with common models and business logic
I have two Django Projects that have different use cases. There are reached using different domains. They are hosted in two different servers. Also each Django project has it's own database.
Now, both the projects have some models and some business…

andy
- 484
- 8
- 21
1
vote
1 answer
Django: Question about model architecture
Does this facade code look like a good idea, or is there anything inherently flawed about the design? More importantly, is there a problem I will likely run into down the road with this code? Any help is much appreciated.
I'm trying to build this so…

orokusaki
- 55,146
- 59
- 179
- 257
0
votes
1 answer
how to restrict pages in Django? if "@login required(login_url='login')" does not work
I'm working on this signup-login project in Django and i want to restrict home page.. but for some reason this code is not working for me.. can you tell me why? and is there any other way to restrict pages in…

Subhan Malik
- 17
- 3
0
votes
1 answer
can anybody help me to run this django github project in window?
I used these steps to run this projects:
downloaded and extracted and opened with vscode
created virtual env using virtualenv test
after django installation and pip install -r requirements.txt
4)after successfully installation of requirements it is…

Harry John
- 1
- 1
0
votes
1 answer
Django add urls from project to another project
I have an existing project (let's name it main) on Django and several applications in it. There is a separate project, also in django, and one application inside it (we will call this the second one). Here is a generalized file structure for project…

Ivas1256
- 33
- 1
- 6
0
votes
0 answers
Django, configure production and local DB settings
I have a Django project deployed to Heroku, where I'm trying to configure the settings file to change DB between production and development.
I don't really see the point of creating three settings file (including a base file) since the only thing…
user12177026
0
votes
0 answers
NoReverseMatch at /store/
main. html , store.html image , views.py image url.py image I am building a e.com website using Django and python ..
there is little issue with main.html
here im sharing the code and error screenshot
help me with these guys
error image i got stuck…

Vinay Bhatt
- 1
- 1