We need to see your directory structure.
meanwhile see if 'polls' works instead 'polls.apps.PollsAppConfig'
On Mon, Mar 9, 2020, 11:14 PM Atıl Ardıç wrote:
>
> I added polls app in below place;But i am getting errors while i was
> running makemigrations
>
> INSTALLED_APPS = [
> 'polls.apps.
The django admin is optional, you do not need to use it.
Start with the official django tutorial:
https://docs.djangoproject.com/en/3.0/intro/tutorial01/
On Mon, Mar 9, 2020 at 8:22 AM maninder singh Kumar <
maninder.s.ku...@gmail.com> wrote:
> You could go to django docs
>
>
> [image: --]
>
>
https://docs.djangoproject.com/en/3.0/howto/static-files/#configuring-static-files
{% load static %}
On Fri, Mar 6, 2020 at 2:04 PM Aly_34_04 MR_34_04 <
allaberdi16yazha...@gmail.com> wrote:
> it doesn't work, I tried(
> [06/Mar/2020 15:01:39] "GET /products/ HTTP/1.1" 200 1719
> Not Found: /pr
Is it still working if you use runserver?
On Fri, Mar 6, 2020, 11:41 AM 'MH' via Django users <
django-users@googlegroups.com> wrote:
> Dear Kasper
>
> Before I do something very difficult like this cross compiling I wanted to
> try to get gcc to run on the synology diskstation. But there is a ge
Reach out to me privately, I'll assist you further.
On Fri, Mar 6, 2020 at 12:32 AM 'MH' via Django users <
django-users@googlegroups.com> wrote:
> Dear Omar
>
> Finally I figured out, which of my gunicorn versions belonged to the right
> python3 that I invoked earlier. Now it seems to start. I w
Make sure you're in the root of the project and run:
gunicorn -w 4 project.wsgi:application
you dont need to change anything.
On Thu, Mar 5, 2020, 10:51 PM 'MH' via Django users <
django-users@googlegroups.com> wrote:
> Is there anything particular hat I have to write into that wsgi.py file?
>
As of Python 3.3 virtual environments are builtin, it would be wise to get
used to them.
https://docs.python.org/3/library/venv.html
On Thu, Mar 5, 2020 at 4:57 PM 'MH' via Django users <
django-users@googlegroups.com> wrote:
> /volume1/@appstore/py3k/usr/local/bin$ ./pip install gunicorn
> Defa
gunicorn is yielding the same error as the standard python command I gave
you,
whereas you use python3 to fire up the django development server. I'll
venture
a guess and say the problem is due to the environment.
Are you using any virtual environment or installing system wide?
How did you install
Is django installed properly?
Are you still able to use runserver?
What happens when you run the following?
python -c "import django.core.wsgi" && echo "Yup, works!"
also, looking further into your error log, make sure you're in the proper
directory.
(i may have given you the wrong one earlier, r
Change your working directory to "project" (the directory containing
wsgi.py) and use:
gunicorn -w 4 wsgi:application
It should work.
On Thu, Mar 5, 2020 at 10:14 AM 'MH' via Django users <
django-users@googlegroups.com> wrote:
> Could anyone tell me how to start correctly the unicorn (integra
[Alternative] While this shouldn't be considered as a way to circumvent
learning how to
configure apache or nginx to serve/proxy python apps, you can also consider
sticking
to pure python dependencies (if this is for personal use). you can ignore
the webserver
completely and simply opt for [1] guni
There are problem N clones of job boards built with django, this shouldn't
affect your decision to create one.
On Fri, Jun 21, 2019 at 10:59 AM Simon A wrote:
> hey guys,
>
> I would like to develop a job board app based in django. I was wondering
> if there is already an available job board app
Dear Thomas,
A little bit more information would give us more insight on how to help you.
What are you currently struggling with?
Can you show us your models code?
Regards,
On Mon, Apr 1, 2019 at 3:03 PM Thomas Mathias
wrote:
> Hello guys i have a django blog app and wanted to fetch all the p
Did you go through the official documentation?
https://docs.djangoproject.com/en/2.1/ref/databases/#connecting-to-the-database
On Wed, Mar 6, 2019 at 8:12 AM wrote:
> *By default SQLite file was creating I don't want to use that and how can
> I connect with MYSQL database*
>
> --
> You received
We would require more information;
What errors do you get?
What are you seeing?
Either way, this is not correct: tank = tank_system.object.get(id(5))
It should be: tank = tank_system.object.get(id=5)
I suggest going through the django tutorial if you haven't already.
On Tue, Nov 13, 2018 at 10:2
On Fri, Jan 26, 2018 at 3:01 AM, sum abiut wrote:
> Hi,
> i am having some issues with my url pattern. i can't seem to figure out
> the problem. i am running django 1.11.
>
> <.. snip..>
> urls.py
> from django.conf.urls import url
> from django.contrib import admin
>
> from . import views
>
>
>
On Tue, Jan 23, 2018 at 10:10 PM, harsh sharma
wrote:
> i am trying to save the basic information about a person
> i have created a model form for it but i am unable to save the object
> (unable to update the database)
>
> here is my views file
>
> @login_required
> def dashboard(request):
>
On Wed, Mar 1, 2017 at 1:52 PM, Aditya Khaund
wrote:
> Hello,
>
> In one of my application I have a form in tabular format. I have following
> questions
>
> 1) How can I add a row dynamically in my form?
> 2) While submitting how can I process multiple tables rows in view code
> and insert all of
I'm not sure if I understood or took the bait, but if you're uncomfortable
with the ORM then
1) Django may not be what you're looking for
2) You could try having your way raw queries. with
https://docs.djangoproject.com/en/1.10/topics/db/sql/#performing-raw-queries
Good luck.
On Mon, Aug 15, 201
On Sun, Feb 7, 2016 at 11:15 AM, 123asror wrote:
> So currently i have a python console application that reads from an api
> and print some data i want. I followed the django course and they use
> models/database in it. The data that they show comes from that. So i was
> wondering how to add a ht
On Sun, Aug 18, 2013 at 4:59 AM, Kristofer wrote:
> Hello,
>
> I remember seeing this some time ago, but can't remember what it is called
> or where it is in the documentation.
>
>
contenttypes framework
https://docs.djangoproject.com/en/1.5/ref/contrib/contenttypes/
> I am looking for the fe
On Wed, Dec 26, 2012 at 6:07 PM, Jonathan wrote:
> I think you've got the right idea with regard to structure and
> separation of concerns, and my next step would be to write 'recent polls'
> as an inclusion tag so that it can be reused on various templates that
> aren't necessarily directly conc
Greeting friends,
Let's assume I have a poll app. This 'poll' app uses some generic models
which have been tossed into a 'core' app (ie: Category). Everything
concerning the 'poll' app is working fine, but now i'd like to create an
index page for the entire site. My first intuition was to make the
23 matches
Mail list logo