I don't have model.py for auth_user.
On Friday, July 3, 2020 at 11:10:17 AM UTC+4:30, RANGA BHARATH JINKA wrote:
>
> send me your models.py
>
> On Fri, Jul 3, 2020 at 12:06 PM Mohsen Pahlevanzadeh > wrote:
>
>> When I use select * from auth_user; I get the following result:
>> #
Send me views.py
On Fri, 3 Jul 2020, 12:36 pm Mohsen Pahlevanzadeh, <
m.pahlevanza...@gmail.com> wrote:
> I don't have model.py for auth_user.
>
> On Friday, July 3, 2020 at 11:10:17 AM UTC+4:30, RANGA BHARATH JINKA wrote:
>>
>> send me your models.py
>>
>> On Fri, Jul 3, 2020 at 12:06 PM Mohsen
send me your models.py and views.py
RANGA BHARATH JINKA 于2020年7月3日 周五15:13写道:
> Send me views.py
>
> On Fri, 3 Jul 2020, 12:36 pm Mohsen Pahlevanzadeh, <
> m.pahlevanza...@gmail.com> wrote:
>
>> I don't have model.py for auth_user.
>>
>> On Friday, July 3, 2020 at 11:10:17 AM UTC+4:30, RANGA BHA
By managed.py inspectdb auth_user :
$ ./manage.py inspectdb auth_user;
from django.db import models
class AuthUser(models.Model):
password = models.CharField(max_length=128)
last_login = models.DateTimeField(blank=True, null=True)
is_superuser = models.IntegerField()
username = mo
When we do, User.objects.all(), it returns a queryset which will show you
all the objects that are present in the database for the model. So, when
you print that queryset, it just displays the username of the user.
This is also because the def __str__ method of the User model must be
returning
Hi,
The reason for this is that you are replacing the buttons when you update
the answer. The event listener that you attached is on the first one and
not the second one.
You can solve this in 2 ways:
1. Reregister the event listener when you have loaded the answer again.
2. Use a different way t
Hi Balaji,
You can get COVID-19 dataset from kaggle.com
Let me know if you have any questions.
Thanks,
On Thu, Jul 2, 2020 at 11:07 PM Balaji Shetty
wrote:
> Hi
>
> Can anyone provide me Covid 19 Database.
> I need Covid 19 Database for Experiments
>
> Thank you
>
>
> --
> Mr Shetty Balaji
> A
Hello,
you get this because in django by default implements __str__ method of User
model, which returns only username of each user. If you want to have
different behaviour, you should implement your one __str__ method in User
model.
пт, 3 лип. 2020 о 09:35 Mohsen Pahlevanzadeh
пише:
> When I us
https://www.who.int/data/gho/info/athena-api
On Fri, Jul 3, 2020 at 7:39 PM Shubham Garg wrote:
>
> Hi Balaji,
>
> You can get COVID-19 dataset from kaggle.com
>
> Let me know if you have any questions.
> Thanks,
>
> On Thu, Jul 2, 2020 at 11:07 PM Balaji Shetty wrote:
>>
>> Hi
>>
>> Can anyone
Seems pretty simple unless you have specific question about something.
You have a model which has some fields including Slug field which should be
unique i.e. unique=True but your screen shot is not clear..
In views you are overriding the get_queryset() method of base class and
assigning it to
Here is my WhatsApp number
+2348095594236
Please I really need to solve this out
On Fri, Jul 3, 2020, 9:07 PM Tanni Seriki wrote:
> Coolguy
> Please can we chat on WhatsApp...
> The post details is really giving me headache, please help out
>
> On Fri, Jul 3, 2020, 9:04 PM coolguy
> wrote:
>
>>
Coolguy
Please can we chat on WhatsApp...
The post details is really giving me headache, please help out
On Fri, Jul 3, 2020, 9:04 PM coolguy wrote:
> Seems pretty simple unless you have specific question about something.
>
> You have a model which has some fields including Slug field which shou
I am away at this time but can you send the project urls.py screen shot as
well.
On Friday, July 3, 2020 at 4:09:01 PM UTC-4, Tanni Seriki wrote:
>
> Here is my WhatsApp number
> +2348095594236
> Please I really need to solve this out
>
> On Fri, Jul 3, 2020, 9:07 PM Tanni Seriki > wrote:
>
>> C
Sir here it's all the project, currently my phone camera has fault please
help me out.
On Fri, Jul 3, 2020, 9:23 PM coolguy wrote:
> I am away at this time but can you send the project urls.py screen shot as
> well.
>
> On Friday, July 3, 2020 at 4:09:01 PM UTC-4, Tanni Seriki wrote:
>>
>> Here
Hi,
It shows your static files and folders are not configured in IIS. You can
find the whole process step by step at -
https://www.mattwoodward.com/2016/07/23/running-a-django-application-on-windows-server-2012-with-iis/
It is very cleanly explained here.
On Fri, Jul 3, 2020 at 5:05 PM Avi sha
Please let me know if you have seen the file.
Am sorry am sending it to you as file, my phone is malfunctioning
On Fri, Jul 3, 2020, 9:49 PM Tanni Seriki wrote:
> Sir here it's all the project, currently my phone camera has fault please
> help me out.
>
> On Fri, Jul 3, 2020, 9:23 PM coolguy
>
Hi Guys,
I am using sessions in my webapp, and don't want to use a db/file backends
as my device
has small storage, so, using signed_cookies backend, I need to store and
modify per-session data
across places and use the session_key to lookup, modify and then save. But
every save creates a
new
Hi,
When I try to modify a session when using signed_cookies backend it creates
a new session which voids
the purpose as I am using session_key as a shared data structures across
views/functions.
Is this expected or a bug? I am using 1.11 (default on ubuntu 18.04, can't
update as pip isn't al
Hi Guys
Somebody can help me?
I want to create a custom response with the follow format:
{
"status": true,
"message": "Any message",
"data": []}
but I don't want create a custom_response function because I must to
modified all Api class based views response. What is the best way to deal
if the new urls is the main url then its not correctly setup. you have to
mention the app name
Let assume you are app name 'student' in your project. So the main urls.py
will have it as follow:
path('students/', include(students.urls),
This way you are telling Django to handover all the requ
One more thing. if your view code is indented exactly the way it is in the
provided then you need to fix the indentation of
def post_details_view(request, post):
This should be under class SearchResultsViews()
like this...
class SearchResultsViews(ListView):
model = Post
template_name
Hi,
Serach for pip install url on ubuntu then you for you to get pip installed.
On Friday, July 3, 2020, Krishna Chaitanya wrote:
> Hi,
>
> When I try to modify a session when using signed_cookies backend it
> creates a new session which voids
> the purpose as I am using session_key as a shared d
Thanks sir, I will make changes.
I really appreciate your time and effort in helping me out with this
Thanks
On Fri, Jul 3, 2020, 11:14 PM coolguy
wrote:
> One more thing. if your view code is indented exactly the way it is in the
> provided then you need to fix the indentation of
>
> def post_d
Please family, help me out in solving my project.
How to use slug to get post details.
Here is all my files
--
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 djang
24 matches
Mail list logo