per page, with , order by , clip by
Results of 1 - 1 of about 1 for alerts (0.003 sec.)
"sites" フレームワーク 9414
"sites" フレームワーク Django にはオプションで "sites" フレームワークが付属しています。これは、オブジェクトや機能を特定の Web サイトに関連付けるためのフックで、 Django で動くサイトのドメイン名や "冗長な" 名前を保持する場所です。 1 つの Djan ... etc., and subscribe the user. # ... current_site = get_current_site ( request ) send_mail ( "Thanks for subscribing to %s alerts" % current_site . name , "Thanks for your subscription. We appreciate it. \n\n -The %s team." % ( current_site . name ,), ... nt_site . domain , [ user . email ], ) # ... Lawrence.com では、このメールの件名は "Thanks for subscribing to lawrence.com alerts." です。LJWorld.com では、メールの件名は "Thanks for subscribing to LJWorld.com alerts." となります。メールのメッセージ本体 ... er_for_newsletter ( request ): # Check form values, etc., and subscribe the user. # ... subject = loader . get_template ( "alerts/subject.txt" ) . render ({}) message = loader . get_template ( "alerts/message.txt" ) . render ({}) send_mail ( subject , ...
https://man.mtool.work/django/6.1/ref/contrib/sites.html
PREV 1 NEXT