Re: Django automatic Logout and and after login it stays on same page

2020-07-28 Thread jhabar singh
by the way how can django logout automatically. I mean user should only be given the access to do so. On Wed, Jul 29, 2020 at 3:37 AM isha thakur wrote: > I am new to Django and using Django 3.0.2. Sometimes Django automatically > logout and when I try to log in on my website then it stays on

How to create a link between Posts List View and Items List View of the same User

2020-07-28 Thread Ahmed Khairy
I am creating a project where there are Posts and Items, 2 different models in 2 different apps and each has a user who can be the same. I have created a page for each user to post all related posts called Userpost List view, and I want to add an if statement or a queryset to show a button

Update a template

2020-07-28 Thread Samuel Nogueira
Hi folks, I’m facing a problem in my template and it’s respective view.  Basically , in my template I have a list of objects displayed  with no filters whatsoever and I want to add a button that triggers an action wich filters the same list of objects. How can I do that? 

RES: Havingproblemwithdisplay. Appreciate any help!

2020-07-28 Thread Samuel Nogueira
In your last e-amil you didn’t put these urls: like /about, /btn and /blog De: Phan NguyenEnviado:terça-feira, 28 de julho de 2020 14:19Para: Django usersAssunto: Re: Havingproblemwithdisplay. Appreciate any help! Yes, exactly! But I also tried the local host server. And this is what I got(picture

RES: Havingproblemwithdisplay. Appreciate any help!

2020-07-28 Thread Samuel Nogueira
  Enviado do Email para Windows 10in your last e-amil you didn’t put this urls: like /about, /btn and /blog De: Phan NguyenEnviado:terça-feira, 28 de julho de 2020 14:19Para: Django usersAssunto: Re: Havingproblemwithdisplay. Appreciate any help! Yes, exactly! But I also tried the local host

Re: Django MySQL database backup and restore to new server

2020-07-28 Thread mcaay
Thanks a lot! Solved my django.db.utils.IntegrityError: Problem installing fixture ... duplicate key value violates unique constraint problem :) W dniu wtorek, 5 maja 2020 18:24:12 UTC+2 użytkownik marc bellazzini napisał: > > SOLVED > > # after more extensive googling . > > ORIGINAL

Django automatic Logout and and after login it stays on same page

2020-07-28 Thread isha thakur
I am new to Django and using Django 3.0.2. Sometimes Django automatically logout and when I try to log in on my website then it stays on the login page but creates a session(I mean, I can see all the buttons which a user will see after login in header and footer). I am not experiencing this

Re: Python-django project

2020-07-28 Thread Lokesh Kumar
Hi there! Great to hear from you all! Looking forward to your support. On Tue, Jul 28, 2020 at 10:20 PM KONE GOMPOU LOUA ALASSANE < gompou.k...@uvci.edu.ci> wrote: > +225 47389778 > > interested brother! > Regards... > > Le mar. 28 juil. 2020 à 16:37, Mithlesh Kumar a > écrit : > >> I am also

Re: Channels: can ApplicationCommunicator get events from my channel layer?

2020-07-28 Thread Amandeep R
Hey Chris, Did you ever figure this out? I'm running into the exact same issue. On Sunday, June 9, 2019 at 1:14:52 AM UTC-4, Chris wrote: > > I am writing an integration test that loads a page, which somewhere > internally calls get_channel_layer().send() to my ChannelNameRouter. I want > the

Re: help on creating user profile using drf

2020-07-28 Thread ola neat
sorry this didnt work, when i try this if created: instance.profile = Profile.objects.create(user=instance) instance.save() i couldnt even register any user On Mon, Jul 27, 2020 at 2:24 AM Fernando Hernandez wrote: > I think the issue is here instance.profile will be None first time the

Re: Havingproblemwithdisplay. Appreciate any help!

2020-07-28 Thread Phan Nguyen
Yes, exactly! But I also tried the local host server. And this is what I got(picture attached) -- only the /admin works, the rest like /about, /btn and /blog cannot be found.. [image: Screen Shot 2020-07-29 at 00.15.47.png] On Tuesday, July 28, 2020 at 9:30:01 PM UTC+7, Samuel Nogueira wrote:

Re: Python-django project

2020-07-28 Thread KONE GOMPOU LOUA ALASSANE
+225 47389778 interested brother! Regards... Le mar. 28 juil. 2020 à 16:37, Mithlesh Kumar a écrit : > I am also interested. Please add my number 8750641542 > > > Regards, > Mithlesh Kumar > > On Tue, Jul 28, 2020, 19:07 BISWAJEET MISHRA > wrote: > >> Hii.. >> I'm interested to work with you,

How do I revoke JWT everytime a new token generated using django-graphql-jwt?

2020-07-28 Thread Anzhari Purnomo
I am using django-graphql-jwt ( https://django-graphql-jwt.domake.io/en/latest/index.html) to handle authentication for my Django Python Graphene application. Currently, everytime a new JWT generated, the previous JWT is still active as long as it does not pass its expiry time. I want to

Re: Python-django project

2020-07-28 Thread Mithlesh Kumar
I am also interested. Please add my number 8750641542 Regards, Mithlesh Kumar On Tue, Jul 28, 2020, 19:07 BISWAJEET MISHRA wrote: > Hii.. > I'm interested to work with you, U can contact me over whatsapp > +917978330633. > Thanks > > On Tue, Jul 21, 2020, 08:39 learn code wrote: > >> Hi

RES: Havingproblemwithdisplay. Appreciate any help!

2020-07-28 Thread Samuel Nogueira
Your problem with the html is that you probably are accessing via file path, instead try to access via localhostEx: localhost:8000/your-url De: Phan NguyenEnviado:terça-feira, 28 de julho de 2020 08:45Para: Django usersAssunto: Havingproblemwithdisplay. Appreciate any help! I got no idea how to

Re: Django and PostGIS app to Google cloud.

2020-07-28 Thread jhabar singh
yeah I can help you On Tue, Jul 28, 2020 at 5:16 PM viraj s solanki wrote: > Hello, everyone, > > Anyone can help to push my Geodjango + PostGIS web app to host on Google > Cloud? I can pay a consulting fee for the time one invest to help me. > > -- > You received this message because you are

Re: Python-django project

2020-07-28 Thread BISWAJEET MISHRA
Hii.. I'm interested to work with you, U can contact me over whatsapp +917978330633. Thanks On Tue, Jul 21, 2020, 08:39 learn code wrote: > Hi everyone, > > I am learning python and django, like to work on the projects to improve > more.If any one interested to join with me to work on the

Re: Django Pagination paginate dictionary of objects

2020-07-28 Thread jhabar singh
bro try to send a intended code On Tue, Jul 28, 2020 at 5:16 PM Harvindar Singh Garcha < garchaama...@gmail.com> wrote: > I am new to Django, and trying to paginate a dictionary objects, > However I am unable to so and not getting what's wrong with my code, > Its still printing whole data on a

how to override options of choices in django model form

2020-07-28 Thread Sujata Aghor
Hello All, How can I override options of choices in django model form from the model field ? Below is my code - *models.py:* class XXX(models.Model): StatusType = models.TextChoices('StatusType', const.status_values) status = models.CharField(max_length=100, default='abc',

Django Pagination paginate dictionary of objects

2020-07-28 Thread Harvindar Singh Garcha
I am new to Django, and trying to paginate a dictionary objects, However I am unable to so and not getting what's wrong with my code, Its still printing whole data on a single page. Above I have posted my View along with template code. class Search(ListView): paginate_by = 5 def get(self,

Re:

2020-07-28 Thread Pratik Sharma
Try aws with free accounts On Tue, Jul 28, 2020 at 3:06 PM Walid Kambagha wrote: > Recheck your projects files and configuration to align with your server > requirements. If you have to load JavaScript files try to load them at the > end of the file. > > On Tue, 28 Jul 2020 at 12:20, RANGA

Re:

2020-07-28 Thread Amit Singh
can you send me the website link On Tue, 28 Jul 2020, 14:43 Anupriya Nishad, wrote: > I hosted my web app on a free hosting site pythonanywhere.com > But it is taking too long to respond. > What could be the reason? > > -- > You received this message because you are subscribed to the Google

Django Pagination paginate dictionary of objects

2020-07-28 Thread Harvindar Singh Garcha
I am new to Django, and trying to paginate a dictionary objects, I am calling stackoverflow API where I want the result to get paginated. However I am unable to so and not getting what's wrong with my code. Above I have posted my View along with template code. > > > class Search(ListView): >

Django and PostGIS app to Google cloud.

2020-07-28 Thread viraj s solanki
Hello, everyone, Anyone can help to push my Geodjango + PostGIS web app to host on Google Cloud? I can pay a consulting fee for the time one invest to help me. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: How to track changes changes, deletions and creations of records on django site

2020-07-28 Thread Ramez Ashraf
Also Check out this https://github.com/etianen/django-reversion/ On Monday, July 27, 2020 at 5:30:12 PM UTC+2, Hector Berrones wrote: > > Hi, Thanks for reading me, does anyone can advice to me about how can have > record of changes, deletions and creations on a django app, > I was trying

Re:

2020-07-28 Thread talk fun
I am also beginner and learning On Tue, Jul 28, 2020, 2:42 PM Anupriya Nishad wrote: > I hosted my web app on a free hosting site pythonanywhere.com > But it is taking too long to respond. > What could be the reason? > > -- > You received this message because you are subscribed to the Google

Re:

2020-07-28 Thread jhabar singh
Yeah that's a problem which even I had faced. So therefore I don't use pythonanywhere free tier. I would recommend you to use AWS or Heroku to host your website. If you want your server to be fast then use AWS. It works very well for me but heroku is also a very good choice. But to use these you

Re:

2020-07-28 Thread Walid Kambagha
Recheck your projects files and configuration to align with your server requirements. If you have to load JavaScript files try to load them at the end of the file. On Tue, 28 Jul 2020 at 12:20, RANGA BHARATH JINKA wrote: > Try heroku. Maybe it will be faster. > > On Tue, Jul 28, 2020 at 2:43 PM

Re:

2020-07-28 Thread RANGA BHARATH JINKA
Try heroku. Maybe it will be faster. On Tue, Jul 28, 2020 at 2:43 PM Anupriya Nishad wrote: > I hosted my web app on a free hosting site pythonanywhere.com > But it is taking too long to respond. > What could be the reason? > > -- > You received this message because you are subscribed to the

[no subject]

2020-07-28 Thread Anupriya Nishad
I hosted my web app on a free hosting site pythonanywhere.com But it is taking too long to respond. What could be the reason? -- 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

Re: Can't change my site name from example.com

2020-07-28 Thread sunday honesty
I have On Mon, Jul 27, 2020, 11:35 PM Selis wrote: > Hiya, > > have you set the 'DEFAULT_FROM_MAIL' and 'SERVER_EMAIL' in your > settings.py? > Here > > is > a reference from the Django Documentation. > >