On 01/02/2021 01.46, Kendel Ibarra wrote:
>
> Hi everybody. I am having some troubles. I am taking the free course of
> Prof. Charles Severance (Dr. Chuck)., on lesson 6, tutorial part 2, I've
> created the username and password successfully, but at the moment to
> login at http://djtutorial.dj4e.com/admin I receive the following message:
>
> "Please enter the correct username and password for a staff account.
> Note that both fields may be case-sensitive."
>
> I do not know what's going on. Please I need some help.
>
If you're sure you've entered the correct username and password that you
used for creating the account, then I'd suggest you try asking Dr. Chuck
for help. I don't know what makes you think anyone here can help.
Kind regards,
Kasper Laudrup
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/62e6a311-a74b-348d-0907-7e98ffb8583a%40stacktrace.dk.
Monday, February 1, 2021
Re: Django Rest Framework APIView request
If it needs to be done on specific endpoints, write a custom decorator method for that endpoint.
If it needs to be done on every request, write custom middleware.
On Mon, Feb 1, 2021, 1:51 PM Ammar Mohammed <amarben1000@gmail.com> wrote:
Hi everyone i have an API View inherited from another classi want to create a new app that reciver the current Client requests and process it then pass it to the original View(all i want to do is to recive the view from the user (the user will use the original urls without any edit in the clients) then i want to add some value to one of the request variables and redirect it to the original APIView)--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c8b3c72e-6664-4aff-b427-69d2933b3ec5n%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMKMUjsmJ-nvvumj%3DMdpRgTGfGs8%2BsrS8%2B3cRsCMhY7waxDw8A%40mail.gmail.com.
Django rext framework join multiple table without nested data
i have a two table and want to fetch data based on their relationship using serializer. I'm able to get nested data like
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/551a9e41-d743-40d2-bab9-f4e6eb8ea941n%40googlegroups.com.
{
'ID':1,
'name':'abc',
'address':[
{
....
}
]
but i want it as in single not as nested
{
.....
}
can any body help me with sample code or reference me a good example so i can understand
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/551a9e41-d743-40d2-bab9-f4e6eb8ea941n%40googlegroups.com.
Re: Django app deployment
On 01/02/2021 12.49, Eugene TUYIZERE wrote:
>
> How to connect a django application to a Database that is on a different
> machine with an application file? I mean, if the application files are
> on the machine(server) A and database is on the machine(server) B
>
Simple enough. Have a look at the HOST setting:
https://docs.djangoproject.com/en/3.1/ref/settings/#std:setting-HOST
Of course, the configuration depends on which database you're running.
Kind regards,
Kasper Laudrup
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/afd20a73-89b5-68df-fa71-b2786cd8bd99%40stacktrace.dk.
>
> How to connect a django application to a Database that is on a different
> machine with an application file? I mean, if the application files are
> on the machine(server) A and database is on the machine(server) B
>
Simple enough. Have a look at the HOST setting:
https://docs.djangoproject.com/en/3.1/ref/settings/#std:setting-HOST
Of course, the configuration depends on which database you're running.
Kind regards,
Kasper Laudrup
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/afd20a73-89b5-68df-fa71-b2786cd8bd99%40stacktrace.dk.
Django app deployment
Dear Team,
Regards,
-- TUYIZERE Eugene
Msc Degree in Mathematical Science
African Institute for Mathematical Sciences (AIMS Cameroon)
Crystal Garden-Lime, Cameroon
Crystal Garden-Lime, Cameroon
Bsc in Computer Science
UR-Nyagatare Campus
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABxpZHu3v6deuZanrRzHMJKwUqR%2B_k_kVaHh0UZGtu-N39%3D%3DQQ%40mail.gmail.com.
Django security releases issued: 3.1.6, 3.0.12, and 2.2.18
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2021/feb/01/security-releases/
Django Rest Framework APIView request
Hi everyone i have an API View inherited from another class
i want to create a new app that reciver the current Client requests and process it then pass it to the original View
(all i want to do is to recive the view from the user (the user will use the original urls without any edit in the clients) then i want to add some value to one of the request variables and redirect it to the original APIView)
-- 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c8b3c72e-6664-4aff-b427-69d2933b3ec5n%40googlegroups.com.
Subscribe to:
Posts (Atom)