I want a Django quora like application anybody who can do it hungout me
Systems developer
*Web Technologies Ltd*
Email *p e...@webtechnologies.co.tz
*
Mobile: *+254 7 <%2B254%20729490486>21449067/+255716282017/+254721491491*
*Website **http://www.w
Hello Mikko,
Below is a sample from my models.py
class Listings(models.Model):
realtor = models.ForeignKey(Realtor, on_delete=models.DO_NOTHING)
title = models.CharField(max_length=200)
address = models.CharField(max_length=200)
city = models.CharField(max_length=100)
state =
On 6/02/2019 6:32 pm, Mike Dewhirst wrote:
On 6/02/2019 5:15 pm, 'Amitesh Sahay' via Django users wrote:
I have an existing django views.py where I have some password,
username, and email validation logic applied. However, going forward
I need to apply more advanced password validation. for
If you want this to happen without the user registering and giving you an
address, you could use a geolocation and ip address database. I think yahoo and
google both provide these services (I used yahoo because their terms of service
were less restrictive). If the user allows the browser to
Hi,
Thank you for your help :)
-Mikko
ke 6.2.2019 klo 18.47 Andréas Kühne kirjoitti:
> Hi Mikko,
>
> The best way to do this is actually to set the timezone for the user via a
> property on the user. The reason for this is that there is no way to
> actually get the timezone from the browser
Hi,
There has been quite a lot PyCon talks about this topic, including introduction
ones for people not used to Python async extensions.
You can find them on YouTube by asking for "pycon asyncio" for instance.
Best
Eric
From: django-users@googlegroups.com
Hi Shiva,
This isn't technically a django question - django itself doesn't have
asyncio support (yet). So I would search on the web for information about
how asyncio works in Python. I know that Michael Kennedy has a course in
asyncio and how it works: https://training.talkpython.fm/courses/all
Hi Mikko,
The best way to do this is actually to set the timezone for the user via a
property on the user. The reason for this is that there is no way to
actually get the timezone from the browser (at least not completely
correctly). That being said, if you want to go down that route - try
You probably just want to use the login_required decorator.
https://docs.djangoproject.com/en/2.1/topics/auth/default/#the-login-required-decorator
-Original Message-
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of ???
Sent: Wednesday, February 6,
I want to write a function 'get_user_or_log_in' to check whether the user has
logged or not. If logged, return user's name, if not, redirect to the login
page. I want to use it like function 'get_object_or_404'. But I do not know how
to let django response at my own function not just at the
I'm trying to write a function to check whether user logged or not. If logged,
return user's name,if not, redirect to the login page. I want to write it as a
shortcut function like "get_object_or_404". My question is, how to let django
return an response to web browser at anywhere I like, not
hello ! guys i implement the Django Admin LTE 2 for django admin. I want to
customize the templates that come with this package according my project.
But the problem is i couldn't not find the way of customize the base.html
of adminlte however i can customize login.html page. please help me guys.
Thank you both for yours answers.
Gil :
I checked again using ftp, git pushed everything correctly, so the error
don't come from that.
Jeremy :
I tried to comment the application in wsgi.py, nothing changed server-side
#application = get_wsgi_application()
Doing this, I saw that appear (cf
Hi Derek,
but I have never seen anyone refer to it as a "lightweight" project (before
you, that is).
I didn't meant "Django is lightweight" but "Django can be lightweight", implied
you configure it accordingly.
Of course, leaving in place the ORM, the session management, the authentication
14 matches
Mail list logo