Re: Abridged summary of django-users@googlegroups.com - 1 update in 1 topic

2022-05-23 Thread Madhav kapadia
Yes pls let me know query

On Mon, May 23, 2022, 6:32 PM  wrote:

> django-users@googlegroups.com
> 
>  Google
> Groups
> 
> 
> Today's topic summary
> View all topics
> 
>
>- Django SMS project <#m_8380133182519162853_group_thread_0> - 1 Update
>
> Django SMS project
> 
> Benjamin Schollnick : May 22 09:41AM -0400
>
> > Hi guys I have a project of django to send SMS to mobile number,
> > Please guys I really need your helps
>
> Well, that’s fine, but what help are you looking for?
>
> - Benjamin
>
>
> ...more
> 
> Back to top <#m_8380133182519162853_digest_top>
> You received this digest because you're subscribed to updates for this
> group. You can change your settings on the group membership page
> 
> .
> To unsubscribe from this group and stop receiving emails from it send an
> email to django-users+unsubscr...@googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL3DJnysLgOgg3bR2S1CaQhjEqAj7czz44Nj-qaKTJVR2gJrqw%40mail.gmail.com.


Re: How To expertise Django templates Language(DTL)

2022-05-23 Thread Mike Dewhirst

On 24/05/2022 4:30 am, waqar khan wrote:

How To expertise Django templates Language(DTL)

Kindy help me,
i am intermediate DTL , any budy suggest link , you  tube video or books.


This is likely your best bet ...

https://docs.djangoproject.com/en/4.0/topics/templates/


--
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 on the web visit 
https://groups.google.com/d/msgid/django-users/c0f39995-27c9-4b27-a766-37235da81e95n%40googlegroups.com 
.



--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.

--
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 on the web visit 
https://groups.google.com/d/msgid/django-users/e3489674-63a0-0e19-814b-952344973dfe%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


How To expertise Django templates Language(DTL)

2022-05-23 Thread waqar khan
How To expertise Django templates Language(DTL)

Kindy help me,
i am intermediate DTL , any budy suggest link , you  tube video or books.  

-- 
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 on the web visit 
https://groups.google.com/d/msgid/django-users/c0f39995-27c9-4b27-a766-37235da81e95n%40googlegroups.com.


Re: Allocating items to users

2022-05-23 Thread Ryan Nowakowski
On Fri, May 13, 2022 at 09:27:48AM -0700, 'dtdave' via Django users wrote:
> I have the following code:
> from django.conf import settings
> from django.db import models
> 
> class AccountManager(models.Model):
> account_manager = models.ForeignKey(
> settings.AUTH_USER_MODEL, on_delete=models.PROTECT, null=True, 
> blank=True
> )
> 
> class Meta:
> verbose_name = 'Account Manager'
> verbose_name_plural = 'Account Managers'
> 
> def __str__(self):
> return str(self.account_manager)
> The view for this, effectively a profile, is as follows
> 
> from django.contrib.auth import get_user_model
> from django.shortcuts import render
> from django.views.generic import DetailView
> from django.contrib.auth.mixins import LoginRequiredMixin
> 
> from .models import AccountManager
> 
> User = get_user_model()
> 
> 
> class AccountManagerDetailView(LoginRequiredMixin, DetailView):
> model = AccountManager
> template_name = "accountmanagers/dashboard.html" 
>  
> def get_object(self, *args, **kwargs):
> return self.request.user
> 
> And the url:
> urlpatterns = [
> path('detail/', views.AccountManagerDetailView.as_view(), 
> name='accountmanagers'),
> ]
> The template then shows the relevant user details but my problem is that I 
> am stuck allocating the clients to the specific account manager. I know 
> that I am missing the point in implementing a queryset and tieing it to 
> that user.
> Any help would be appreciated.

What would you like the relationship between client and account manager
to be?  One to one?  One to many?  Many to many?

- Ryan N

-- 
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 on the web visit 
https://groups.google.com/d/msgid/django-users/20220523140201.GC10089%40fattuba.com.


Re: Django SMS project

2022-05-23 Thread Ryan Nowakowski
On Sun, May 22, 2022 at 09:08:27AM +0100, Tanni Seriki wrote:
> Hi guys I have a project of django to send SMS to mobile number,
> Please guys I really need your helps

I agree with the other replies that your post is a little vague.
That being said, in general when I want to send txts from Django, I use...

https://pypi.org/project/django-sms/

(disclosure: I've contributed to django-sms in the past)

- Ryan N

-- 
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 on the web visit 
https://groups.google.com/d/msgid/django-users/20220523135439.GB10089%40fattuba.com.