Questions tagged [django]

Django is a popular framework for the Python programming language.

Filter by
Sorted by
Tagged with
1 vote
0 answers
12 views

Display data on Html page [closed]

I have a website that displays data from external files. But there is a problem with the display as in the attachment. How can I control the page size to display the full data without compression ??
3 votes
0 answers
39 views

"This page isn't redirecting properly" on one particular site with one particular user

I administer a web site (https://fury.games) and one of our users is reporting that they cannot load the main page and get the following error: I cannot reproduce the error, no other users have ...
1 vote
0 answers
38 views

Apache server on Ubuntu not working from remote location [closed]

I have a problem with Apache server on Ubuntu being blocked on port 80 when I try to access it from outside of my local network. On network server, I'm running Django application with mod_wsgi. Things ...
3 votes
1 answer
28 views

Why is google console showing url as anchor text instead of actual anchor text?

I have deployed a website using Django. This is my very first app so still trying to learn. So I was checking my SEO progress and ended up checking my google search console and saw this: The very ...
1 vote
0 answers
66 views

Install matplotlib and pandas on shared hosting python from cpanel [closed]

When I upload my Django app, I have problem when I setup the python app configuration files. After adding requirements.txt gives me an error these libraries are not accepted: matplotlib==3.5.1 pandas=...
2 votes
0 answers
71 views

Only some computers can access local apache server some of the time (windows 11) [closed]

I've set up an apache server with a Django app and followed all the configuration steps to make it accessible on my LAN. In my office there are about 15 computers. We're all on that same WiFi network. ...
1 vote
2 answers
95 views

Should I use redirects or create multiple URLs?

I have the scenario where two links should redirect to the same page, similar to the case of Wikipedia where https://en.wikipedia.org/wiki/Main_Page and https://en.wikipedia.org/wiki/ both point to ...
0 votes
0 answers
28 views

How does a search engine discover/crawl a website page when requested URL loads the content via database?

I am creating a new blog website in Django. All the posts and their details are stored inside an SQLite database (one that comes default with Django). Once a post's URL is requested, the server ...
1 vote
1 answer
225 views

Does django-oauth-toolkit handle pkce with oath2?

I am trying to implement oauth2 to my django app. I tried to use django-oauth-toolkit. I think their documentation is outdated and could not find any mention of pkce. Also, I could not find any ...
2 votes
1 answer
153 views

How can Wagtail CMS pages be edited directly as HTML, instead of as the default WYSIWYG block editor?

I work on a website that uses Wagtail CMS, a Django web framework. Its page editor uses blocks (https://docs.wagtail.io/en/v2.9/topics/pages.html) and I don't see any simple options or instructions ...
0 votes
0 answers
18 views

Seeing massive 307 ga redirects while submitting form

Problem: I'm trying to implement form tracking basis Google's tracking snippet I tested the form submission locally and on staging but the form won't submit (not sure why) and I keep seeing massive ...
2 votes
0 answers
62 views

Explanation needed with Django and AMP logic using 1 url

I'm using AMP at one of my parts of the website with Django template and python, my question is what will happen to a page (*SEO wise) if I take and break an AMPed page (only on desktop) and leave the ...
1 vote
0 answers
16 views

Should front marketing pages use a separate platform?

We have a Django website with a lot of backend code for the main functionality after a user logs in. But now we are trying to develop the first landing pages, improve the SEO, add FAQ pages etc. ...
1 vote
2 answers
4k views

HTTP Header broken? Browsers don't open our pdf, but open all other pdfs [closed]

My Firefox and Chrome usually open PDF files very nicely, without asking and within the browser window. When clicking on a link to a PDF on our own website: Firefox asks if it should download them, ...
0 votes
0 answers
64 views

Removing Paginated URLs from Google Search [duplicate]

I have a website running on Django, Python. I'm using django pagination so that users can click next & see further content. For example, my website is example.com, so when user requests new page ...
3 votes
5 answers
2k views

What are some good, cheap hosts that supports Django? [closed]

I'm doing a personal web site in Django. It'll be fairly light, and I don't expect many visitors, so I don't need 500gb of bandwidth or 10gb of hard drive which most hosting servers seem to provide as ...
1 vote
0 answers
334 views

Django websocket app running alongside mod_wsgi app

i have a Django project/website that hold 3 chatting application two of them is using HTTp request as a chatbot the uses views.py to retrieve the replay from the DataBase , and the third on is using ...
3 votes
1 answer
1k views

Adding "expires" directive in Nginx conf for assets causes "404 not found" errors

I have a live Django site running gunicorn, nginx, supervisord. I am trying to implement the suggestions found here to increase my page speed score by using gzip in nginx. The resulting config file is ...
2 votes
0 answers
181 views

Django - html metadescription not translated while google searching

I have a weird issue and I still don't know why. I'm working on a website using Django 1.10. Default language is English and it is translated in French and Portuguese. The pseudo code of the index....
2 votes
0 answers
57 views

What is it called when a web server returns arbitrary content with 200/OK when the client requests nonexistent directories or files?

Example: Client: GET http://www.example.com/nonexistent/foo Server: 200 OK <html... "Foo has three products in their Favorites list."... accompanied by three arbitrary products from other parts ...
1 vote
1 answer
190 views

How to make my angularjs + Django web application SEO friendly?

I'm working on a web application that will allow users to create a dedicated page for them like www.example.com/john.doe So the structure I've come up with is this: Landing Page: Pre-rendered at ...
1 vote
2 answers
5k views

Is it possible to deploy a Django app at 1and1?

I'm trying to deploy a Django app, and I tried to follow the tutorial at robhogg.me.uk/post/2, but it fails at the third command. Is it possible to deploy a Django app on my 1and1 hosting or will I ...
2 votes
0 answers
47 views

running multiple website through one site on apache2

I am new to web development but giving it a try to learn and whilst make use of it I have installed sites gogs , pydio and reviewboard on apache2 running on Raspbian. right now I have to start each ...
1 vote
2 answers
414 views

Does a 301 redirect from the root to subdirectory affect SEO?

WordPress have a site that is a Django and WordPress hybrid. The wordpress site is self contained at /wp. It is the mini-site for promotion and sales that a non-logged in user sees. The Django site ...
0 votes
1 answer
718 views

AdSense ads not showing up after switching HTTP server to gunicorn + proxied nginx

I am developing a webpage in Django in which contains two blocks of advertisements from Google AdSense. Before, I was serving this page using Apache2, but I switched to gunicorn + nginx due to it's ...
3 votes
1 answer
88 views

Techniques to prevent apps hijacking my search engine?

I'm working on a site with a large music content database, and recently some app developer looking for a bit of a reputation boost has launched an app that completely piggybacks on our database: a ...
1 vote
1 answer
435 views

Installing Django (or other Python-based) CMS on PaaS Instance?

I have a simple hosting instance with gandi.net which is designed to host python programs and comes with a PostgreSQL database configured. I originally had the instance formatted for PHP and used ...
4 votes
2 answers
214 views

'Buy the app' landing page implementations: redirect or JavaScript popup?

My site (using Django) has an app that I'm trying to push - I currently have a piece of middleware that redirects the user to a page advertising the app if they're accessing the page on the iPhone, ...
1 vote
0 answers
236 views

How to install OSQA using Xampp on Windows 7 32bit?

I want to install OSQA using Xampp on Windows 7 32bit. I've followed the instructions on this tutorial until the "Install the database server" section. In this section, to create a database, I've used ...
1 vote
1 answer
282 views

Packaging a web application for deploying at customer site

I want to develop a Django web application that would get deployed at the customer site. The web application would run in a private cloud environment (ESX server here) of the customer. My web ...
3 votes
3 answers
3k views

Installing python packages on shared hosting?

I will be hosting a Django application on hostgator.com and was wondering how can I install django apps and python packages without using pip, since I won't have access to the root account.
2 votes
1 answer
106 views

Migrate from Google App Engine [closed]

I'm working with the app engine platform, python 2.5.x and Django, and I'm looking for other solution to host my web app. Can you suggest me blog, or websites who explain how to install a such ...
1 vote
3 answers
5k views

How do I install and run django on iPage (a shared webhost)?

I am using an iPage hosted server and I am willing to use django. As per the provider, they support python inside cgi-bin dir. I would like to know how do I install django on a cgi server if that's ...
5 votes
1 answer
907 views

Shared versus VPS versus Cloud?

Short form: I'm trying to decide between shared, VPS, and cloud hosting for a few Django webapps. Long form: I'm currently hosting around half-dozen sites (a mix of Django and PHP) on two ...
1 vote
2 answers
2k views

What type of server is using Django/Python? .htaccess is compatible?

I was wondering what type of server is using python & django because i don't know if can i use an .htaccess file and if there is something similar. Thanks.
2 votes
2 answers
751 views

community driven video platform

I am looking for a platform to build a community-driven education video site. We already have quite a few community web-apps runing on python/django, so something based on these technologies would be ...
1 vote
2 answers
3k views

Better to learn with LAMP/Django or more basic building blocks? [closed]

I'm looking to pick up basic web development by working through Programming Python's internet scripting chapters (especially the server-side scripting). Question: when I'm attempting to learn the ...
3 votes
1 answer
3k views

Indexing a multilingual website

I am trying to create a multilingual website using the Django framework, all default content is English. I have added a native translation (Dutch). https://mydomain.com/ redirects to the user request ...
4 votes
3 answers
741 views

PHP framework suggestions [closed]

I'm going to be creating a site for a business with the following: Single Item purchases with Paypal, Google Checkout and Amazon Checkout Digital Downloads for members from a CDN Forum Voting on ...
13 votes
8 answers
24k views

Are there any large web sites written with Python/Django? [closed]

Looking at the list of sites created using django, it seems there are no major web sites that are written using the framework. Why is this? Is django not suited to scalable web sites, or is it in ...
2 votes
1 answer
784 views

Should I use mod_wsgi embedded mode if I have full control of Apache?

I'm managing a bunch of sites and applications in a shared hosting, using Django via mod_wsgi. I had planned to use daemon mode from the beginning (to avoid restart problems), but ended up purchasing ...
1 vote
1 answer
3k views

A WSGI-configured Apache does not serve images from /static or /media (Django), returns 403

I have set up an Apache server with WSGI/Django on it, and everything works fine -- html, css -- but when I try to request an image file, like png, it returns 403 Forbidden. The configuration is as ...
3 votes
1 answer
164 views

Managing pages without CMS?

This question should be quite general, although my interests are in Django. I'm very new to Django. My impression is that most sites don't rely on a CMS, but how are do they manage pages without ...
1 vote
0 answers
4k views

Django or PHP? Which is my Future? [closed]

I started to learn Python. What do you prefer for my future. Should i learn Django or PHP to build sites. Is there a review about Django vs PHP?
1 vote
2 answers
934 views

Best way to use static HTML + AJAX with Django

I'm working on a web app and decided that for the max amount of speed I'm going to make it a single page. Then load all the content via AJAX pulling the data from a Django app. My options as I see ...
0 votes
1 answer
194 views

Django plugable news story application [duplicate]

Possible Duplicate: Which Content Management System (CMS) should I use? Are there any plugable django blog apps that can be embeded into existing pages or templates. It doesn't have to be a full ...
8 votes
4 answers
4k views

Is there a free Django hosting service out there? [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I would like to put my Django web-site online. Is it possible to do so for free?
2 votes
1 answer
2k views

Admin: Remove user from group

I was wondering how you can remove a user from a group in the admin. Seems I can add them to a group fine but if you only have one group it seems you can't deselect it?
0 votes
1 answer
60 views

django websites and google [duplicate]

Possible Duplicate: What are the best ways to increase your site's position in Google? I have recently finished one of my side projects. Now many sites have things like robot.txts (probably ...
0 votes
2 answers
239 views

Need a host which supports OSQA [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? Hi i'm looking to install OSQA and see how it goes I have a great niche which I think may work real well, but till I get a ...