There's many Django cheat sheet online. Just type on Google: Django cheat
sheet
Le mer. 1 mars 2023 à 17:18, Jeman Kumar a écrit :
> There is none
>
> On Wed, 1 Mar, 2023, 9:29 pm Ephrem, wrote:
>
>>
>> anyone can you send me a django cheat sheat
>>
>> --
>> You received this message because
There is none
On Wed, 1 Mar, 2023, 9:29 pm Ephrem, wrote:
>
> anyone can you send me a django cheat sheat
>
> --
> 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
>
To make this possible the user must have a profile such that if they signed in
to the page they only can see informations attached to that user.
There are different ways to achieve this
But first there should be an authentication in place.
The settings can then be done either from the template
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
Override get_queryset method or use models.objects.filter(user=request.user)
On Wed, Mar 1, 2023, 5:45 PM Ikrombek wrote:
> How to make a user's post visible only to that user using Django
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
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 ,
anyone can you send me a django cheat sheat
--
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+unsubscr...@googlegroups.com.
To view this discussion
To make a user post visible only to that user i.e only to that same user
that post it you do
1. {% if post.author == user %}
My html post code
2. {% if post.author == user.id %}
My html post code
if ur post class use many to many field for author use no 1 else
If user.is_authenticated
On Wed, 1 Mar 2023, 15:45 Ikrombek, wrote:
> How to make a user's post visible only to that user using Django
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop
How to make a user's post visible only to that user using 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+unsubscr...@googlegroups.com.
To
10 matches
Mail list logo