Sunday, March 5, 2023

Re: Django Guide

U should explore documentation and YouTube latest videos and create your own e commerce website project with rest framework 

On Sun, Mar 5, 2023, 9:28 PM Abdullah Niaz <abdullahniaz423@gmail.com> wrote:
Hello, My Name is Abdullah. I am pursuing my computer science degree & I am in the second semester. I learned Python At my school. Now, I want to learn Django. Can Anyone guide me 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ec131a61-b003-4979-bdb5-de5466bef6b2n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAL5Fy%3DD7BTi%2BJFxE%3DP4D%3DqgeyYHFkM7gBfBuwenTFA0KNPdquA%40mail.gmail.com.

Saturday, March 4, 2023

Re: "Django road map and resources"

Like this 

On Fri, 3 Mar 2023, 17:08 Prosper Lekia, <lekiaprosper@gmail.com> wrote:
Hi Yaqiinso. Just start small. All you need is a good understanding of your project logic, and what you want to achieve. You can also try collaborating on a existing project. You can always reach out to me. I started Django with the docs, and by studying the code base of cloned projects. I have currently built a an ecommerce site, an online banking app, a delivery tracking app, and currently working on my startup, a social media site. With you knowledge you can build the project of your dreams.

On Wednesday, March 1, 2023 at 5:00:43 PM UTC+1 yaqiinso wrote:
Hello dear django developers i was learning django since december i understood all the basics like how create apps,models,views,url,some authentication like adding user,login and logout but still i can not make the projects of my dreams like building school management system software , E_commerce web, and so ,  where to go can  any one please give road map that takes me to my dream ..

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f982abf5-a498-426c-b1fb-46aed5701596n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFbY-hZXvyQBOzL7vbmddN5H5dTz14oQcp_6hTJWgt5QSvGibw%40mail.gmail.com.

Friday, March 3, 2023

Re: Ordering of code

Both are related to the python language, nothing Django specific about them.

This may help (not in explaining so much as demonstrating workarounds):


Regards,
/d

------ Original Message ------
From "Michael Starr" <starrtennis@gmail.com>
To "Django users" <django-users@googlegroups.com>
Date 3/4/2023 7:43:18 AM
Subject Ordering of code

Does anyone know why in django models (and I don't know how it is in etc. python), you can define a function below, and use it above in the code, but a class can't reference a class defined later in the code, or it won't find it?

That seems like beyond stupid to me.

Michael

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2409c040-107d-40e3-a828-0013851d0d98n%40googlegroups.com.

Thursday, March 2, 2023

Re: "Django road map and resources"

I'll second that - Udemy is a great resource and frequent run specials on courses.

Also, don't overlook Youtube where you can often find same/similar and good quality content available for free.

Regards,
David

------ Original Message ------
From "Sebastián Bevc Costa" <sebastian.bevc@gmail.com>
To "Django users" <django-users@googlegroups.com>
Date 3/3/2023 12:06:11 AM
Subject Re: "Django road map and resources"

You can search for Udemy courses. In some of them they build complete projects that you can follow along. There are books as well that guide you through projects, a quick google search or search in amazon books should give you some resources

Re: How to retrieve the latest object added (new one) in Django models and display it in the template?

Your problem is still about where the 'published' value is coming from in the call to filter(published=published).

Is it coming from a form? A Get parameter? A post parameter? Extract it appropriately before calling filter()


> On Mar 2, 2023, at 3:46 AM, Byansi Samuel <samuelbyansi87@gmail.com> wrote:
>
> def action (request):
> latest_action=ActionGame.objects.filter(published=published). latest()


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/A09FDF66-9845-4B93-854D-8BBFC4F5A03D%40showmethesource.org.

Wednesday, March 1, 2023

Re: django

In Django, roles are called groups:

https://docs.djangoproject.com/en/4.1/topics/auth/default/#groups



On February 27, 2023 9:49:26 AM CST, Abhishek ozha <abhishekojha123455@gmail.com> wrote:
I just created a normal school name adding API and how do I add role based authentication In that

On Mon, Feb 27, 2023, 8:24 PM OSP PRO <osp123ug@gmail.com> wrote:
Yes, Django is much trustworthy admin dashboard, than other frameworks. 

On Mon, Feb 27, 2023 at 5:29 PM Ikrombek <ikromdev25@gmail.com> wrote:
Hello
Can I create strongest dashboard with django 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f305c42f-915a-46d5-b535-559b18bb5040n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACng%3Deibg0sfVojeAVoZmFxHZyFGZtyLwgN%3D8%3DY3q6r0Bpc1KA%40mail.gmail.com.

invalit format for join_date when I ran a migration

Hi, I'm trying to run the command 'python manage.py migrate auth' but im getting this error 'django.db.utils.OperationalError: (1067, "Invalid default value for 'date_joined'")'.

I'm using Django 3.2.9 and MySQL 8.0.32-0ubuntu0.22.04.2. I changed the sql config altering the sql_mode variable but I'm getting the same error.

The declaration of the field date_joined is the default of django instalation

date_joined = models.DateTimeField(_('date joined'), default=timezone.now)

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/19fa95b0-0e82-49d2-9007-b36bae8f770en%40googlegroups.com.