as_* helpers (e.g. as_p as_div) for display (read "not in a form")

2022-12-14 Thread Sam Brown
Hello,

I've used the as_p helper in the Forms to get success, however I'd love to 
use a similar helper for display purposes.  The main feature I like is that 
the as_p helper allows me to build a template quickly and I can change the 
model as needed and not have to update the template.

Does anyone know of a non-form helper like as_p?

Same question posted on stackoverflow here 


Thanks,

Sam Brown

-- 
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/f6f65f7a-5cba-48f0-86c8-f3a9318fed1dn%40googlegroups.com.


RE: Django deployment on local host

2022-12-14 Thread Mike Dewhirst
The essential difference between local and remote is how you access the 
website.You need all the same resources including web server, database server 
etc but you might need a local DNS so local users can find the server by 
name.You can always test using hosts files on the test machines so they can 
find the server.Good luckM--(Unsigned mail from my phone)
 Original message From: Tinashe Mphisa 
 Date: 15/12/22  01:35  (GMT+10:00) To: Django users 
 Subject: Django deployment on local host I have 
been looking for clear article or video on how to deploy Django on local server 
with no luck. i would appreciate it if I can get a link or any kind of help.



-- 
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/11c3a6b1-9d18-43c0-b4f9-1e132689637an%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/639a49ce.250a0220.58ac1.8432SMTPIN_ADDED_MISSING%40gmr-mx.google.com.


Change default table name

2022-12-14 Thread NIRAJ VIVEK
Hello all,
 Is there any way to change all default table name created by django. 
like auth_group to something else

Thank you 

-- 
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/f6a0af7e-ea95-4d4f-abe5-c665343223e0n%40googlegroups.com.


Django deployment on local host

2022-12-14 Thread Tinashe Mphisa
I have been looking for clear article or video on how to deploy Django on 
local server with no luck. i would appreciate it if I can get a link or any 
kind of help.

-- 
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/11c3a6b1-9d18-43c0-b4f9-1e132689637an%40googlegroups.com.