I want to get the data from the django model contans(name,age,photo) on a
excel sheet.
How can i do that.
--
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
Hello everyone
I have deployed a website on heroku
https://apnaganna.herokuapp.com/
What should be my next step to see that my website data is secured.
How to stop unauthorised request to view your django rest api urls
Thanks 😊
--
You received this message because you are subscribed to the Goo
get_queryset() isn't documented as taking any args at all, let alone the
kwargs of the request. You sometimes see people do "def get_queryset(self,
**kwargs)" to future-proof themselves in case get_queryset does, one day,
accept args. But it doesn't right now.
To get the kwargs for the request loo
I am struggling with getting kwarg values into a queryset filter:
class UsersItemsView(ListView):
template_name = 'testapp/user_item_list.html'
def get_queryset(self, **kwargs):
print('kwargs-userlist')
print(kwargs)
#return Item.objects.filter(user__username='cli
Simply point your domain nameservers from GoDaddy to cloudflare.
Then from cloudflare, add the cname record. It's works flawlessly even with ssl
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving e
Je ne comprends pas ce que tu dis. Pourquoi n'utilisez-vous pas l'anglais
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70
El dom., 5 jul. 2020 a las 18:36, FLAVIEN HERI ()
escribió:
> je pense tu peux reutiliser tout en activant ton environement
>
> On 7/5/20, C L
Replies
--
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.googl
je pense tu peux reutiliser tout en activant ton environement
On 7/5/20, C L A S S E 1 wrote:
> *BONJOUR A TOUTES A TOUS*
>
> *si je décharge un site(une application django) est ce que je peut l
> utiliser sur mon environnement de développement qui lui contient déjÃ
> porte un site qui exi
I also, I have build one program with health environment, and the user
controlls is following manner:
def login_ini(request):
variable1 = 'Pantalla de Acceso al Sistema'
error_log = 'ok'
username = request.POST.get('username')
password = request.POST.get('password') # valor del template
user = aut
https://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/
[image: Screenshot from 2020-07-06 03-15-34.png]
On Mon, 6 Jul 2020 at 03:13, Arpana Mehta wrote:
> You can user permission classes in your code. Or decorators before the
> function view you want to be only visible
You can user permission classes in your code. Or decorators before the
function view you want to be only visible to logged in users.
from django.contrib.auth.decorators import login_required
@login_required
def your_view_here(request):
On Mon, 6 Jul 2020 at 01:28, Exactly musty wrote:
> ho
try this then clear cache on your browser path('logout/', auth_views.
LogoutView.as_view(template_name='registration/logged_out.html'), name=
'logout'),
On Sunday, July 5, 2020 at 8:58:25 PM UTC+1, Yasir Iqbal wrote:
>
> I am having difficulty to access my custom template when I tried to logout
>
Thanks for you response but in current scenario I have to use from
django.contrib.auth import views as auth_views. Please help me out. Thanks
On Monday, 6 July 2020 01:05:05 UTC+5, Exactly musty wrote:
>
> i recommend you use django-allauth,for its easier, you won't have to
> struggle for authent
i recommend you use django-allauth,for its easier, you won't have to
struggle for authentication as django has taken care of everything for you
On Sun, Jul 5, 2020 at 8:58 PM Yasir Iqbal wrote:
> I am having difficulty to access my custom template when I tried to logout
> or password_change and
I am having difficulty to access my custom template when I tried to logout
or password_change and I redirect to django built-in template. Only login
is working fine with my login custom template.Can anyone help me
please.Thanks
Here is my code urls.py
from django.urls import path
from django.
how can i specify a user in django templates, for example i have a page
which consist of list of users available but i want it to show "Talk to a
patient" for only the logged in user on his own profile here is what am
saying in picture and here is my code, i actually don't know how to put the
c
What about introspecting the model associated with the QuerySet:
qs = SomeModel.objects.all()
columns = [f.column for f in qs.model._meta.fields]
Regards, Michael
Am 04.07.2020 um 22:11 schrieb Eugene Kulak:
How to get names of columns from QuerySet without executing it?
If it is not possible
*BONJOUR A TOUTES A TOUS*
*si je décharge un site(une application django) est ce que je peut l
utiliser sur mon environnement de développement qui lui contient déjÃ
porte un site qui existe déjà . ou je dois créer un environnement appart.
si possible comment merci*
--
You received t
if i download a cite how to use this cite in my envir django with my cite
django... sould I do an auther envir . if possible how ? thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving email
i guess the problem is syntax error in your load static at the top of the
page put a spce between the percentage sign and the load
below is a clearer explanation:
your load static looks like this {%load static %} then change it to this {%
load static %} the difference is that there is space between
In your settings.py file you have to mention your static path , please check if
you have mentioned that. 2nd if everything is good . Try to access that css
file on the browser .start the server with python manage.py runserver and type
the full path of the file in url,("localhost:8000/static/sty
21 matches
Mail list logo