Follow this tutorial:
https://www.youtube.com/watch?v=UmljXZIypDc&index=1&list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p
He goes over how to create an admin page and have it working.
On Tuesday, November 6, 2018 at 9:02:03 PM UTC-5, Saeed Pooladzadeh wrote:
>
>
> But my problem is there is no admin pag
Edson,
I did not know python when I started with Django and although I am not a
programmer I enjoy working with it now.
I agree that having a project to work on is the best way to practice as
to get good at something you need to practice.
When you are frustrated ask questions. This is the
Hello
I'm a new django developper and i must build a statistic web site.
For this, i made some opération.
*# models.py*
class Question(models.Model):
question_text = models.CharField(max_length=200)
categorie = models.CharField(max_length=20)
pub_creat = models.DateTimeField('date cre
Running channels with daphne.
django version: 2.0.4
asgiref==2.2.0
asgi-redis==1.4.3
channels==2.1.5
channels-redis==2.3.1
I'm trying to connect websoket. When I tried to connect with Anonymous
user(without user login), it works well. But, when there is user, it
doesn't work well.
The on
Hi there.
I am really not sure how to phrase this questions so I will just do my best.
On the homepage of my app I have a table with information. Most of the
information in each cell is also a link to a details page like so:
{{ incident.ir_num }}
What I am struggling to get working is adding
django.setup()
File
"C:\Users\User\Anaconda3\envs\myprogv\lib\site-packages\django\__init__.py",
line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File
"C:\Users\User\Anaconda3\envs\myprogv\lib\site-packages\django\apps\registry.py",
line 112, in populate
app_config.imp
If you just copied and pasted from your template into this email, the problem
is a syntax error. You did not close your URL tag with a %}.
{{ incident.ir_num }}
{{
incident.eft_lead}}
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Gregory Strydom
Sent:
I think it should be url 'kpi_detail' incident_id=incident.id" and for the
other one it should be url 'kpi_eftdetail' eftlead=eftlead.id" . I think
you get the idea. This won't solve it if you copy paste but it's a step in
the right path
On Nov 7, 2018 8:20 PM, "Gregory Strydom"
wrote:
> Hi ther
The error message says “keyword argument repeated”
Look at the keyword arguments and check for repeated ones.
I see it in the definition of parent. Do you see it?
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Dennis Alabi
Sent: Wednesday, November 7, 20
Sorry I typed it in here incorrectly. Thank you for spotting that though :)
It is the correct way in my source file.
On Wednesday, 7 November 2018 16:55:15 UTC+2, Matthew Pava wrote:
>
> If you just copied and pasted from your template into this email, the
> problem is a syntax error. You did n
Oh, I see it now.
Your second URL doesn’t correspond with the object that is inside the cell.
You probably meant {% url ‘kpi_eftdetail’ incident.eft_lead.id %}
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Gregory Strydom
Sent: Wednesday, November 7, 2018
That is pretty much the way I have it set up yeah so I also think it should
work but its not.
I did have a closer look at the No_Reverse error and saw this:
Reverse for 'kpi_eftdetail' with arguments '(",)' not found. 1 pattern(s)
tried: ['kpi/eftlead/(?P\\d+$']
I think the '(",)' is the clue.
Thats it! Thank you so much :P I''ve been struggling for 2 hours and you
solved it in 5 minutes. Much appreciated!!
On Wednesday, 7 November 2018 17:01:45 UTC+2, Matthew Pava wrote:
>
> Oh, I see it now.
>
> Your second URL doesn’t correspond with the object that is inside the cell.
>
> You prob
Hi. Welcome to Django world.
You can use formset to show and manage both models, Specifically you can
use inlineformset_factory, who can help you with that.
I maded a course where I explain it, but is in spanish. Bue, read about
inlineformset_factory.
Dios L@s Bendiga
Saludos,
[image: --]
Hi,
I'm coming back with this one as well. I managed to fix my problem. In my
consumer, I was making normal Django database queries without the
@database_sync_to_async decorator.
As soon as I started wrapping my code properly with this decorator,
everything started to work fine. See below.
Hi there,
I am trying to migrate an existing Django project to Channels2. We want to
keep all existing sync codes unchanged and we will continue mode of the
development in sync mode. But having Channels opens the opportunity to
develop some features in async mode.
I was able to install channels2
Channels doesn't take over at all unless you configure an async consumer.
To make sure it's working I'd recommend writing a single async consumer,
and running a test against that to ensure it works.
Andrew
On Wed, Nov 7, 2018 at 1:11 PM Zhiyu (Drew) Li wrote:
> Hi there,
>
> I am trying to migr
17 matches
Mail list logo