Questions tagged [django-project-architect]
The django-project-architect tag has no usage guidance.
django-project-architect
24
questions
-1
votes
0
answers
20
views
How do I create a REST API for a project for a hackathon using django which I have no experience of?
I have to create a REST API for a project in django for a hackathon, I have never created one. I have worked on basic django projects but have not built an api.
I tried following along a tutorial but ...
0
votes
1
answer
44
views
Error message: "GET /blog/about HTTP/1.1" 404 Not Found: /blog/about geting this while creating Blog app
views.py:
from django.shortcuts import render
from django.http import HttpResponse
def home(request):
return HttpResponse('<h1>Blog home</h1>')
def about(request):
return ...
-1
votes
1
answer
47
views
getting an empty folder in django new project
I created a virtual environment than I installed Django successfully but when I try to create a project with Django-admin start-project project-name Django create an empty folder?
I'm expecting a ...
1
vote
2
answers
1k
views
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 executable
C:\Users\sabbir\...
-1
votes
1
answer
1k
views
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 ...
0
votes
1
answer
62
views
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)...
0
votes
1
answer
1k
views
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). ...
0
votes
0
answers
1k
views
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 ...
0
votes
0
answers
68
views
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
...
0
votes
1
answer
2k
views
How to reuse Django app into another project
I have made a user registration app in a Django project.
I want to add this app (reuse) into another project.
How can I do this ?
-2
votes
1
answer
108
views
How to get location based Admin views in Django?
I am new to Django and I am working on online food ordering system. I am going to use Django for backend.
I am not sure about how to show various admin views based on different restaurants suppose I ...
-3
votes
1
answer
122
views
Where store Tests (project structure - best practice)?
We have many different ways to implement project structure in GO.
My question is where the best way to store tests implementation:
separately (as Java Maven/Gradle standard)
├── pkg
│ ├── ...
0
votes
1
answer
378
views
Running apps present in same project in different ports at the same time using django
I am writng multiple apps inside the same django project
Now I want to run each app individually
my project name is : myproject
and i have 2 apps inside it : app1, app2
Now i want to run app1 in ...
1
vote
1
answer
1k
views
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 ...
6
votes
3
answers
3k
views
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, ...