Re: Social media management

2019-06-25 Thread Peter Mudoko
Hey , We have build one we have all the code you only need few tweaks. We can discuss. On Wed, 26 Jun 2019, 06:58 carlos, wrote: > try used this > https://github.com/pennersr/django-allauth > > Cheers > > On Tue, Jun 25, 2019 at 5:35 PM Yoo wrote: > >> Management platform? How so? Are you

Re: Social media management

2019-06-25 Thread carlos
try used this https://github.com/pennersr/django-allauth Cheers On Tue, Jun 25, 2019 at 5:35 PM Yoo wrote: > Management platform? How so? Are you talking about authenticating users > with OAuth? Like "sign up with Google" or "Sign up with Facebook" > > If so, you can check out: >

Re: Minimum Hardware requirement - reg

2019-06-25 Thread Aldian Fazrihady
Can you convince your client to use clouds instead of self hosting? Cloud such as AWS or GCP is easily scriptable, allowing to create critical/important automation scripts. Regards, Aldian Fazrihady On Wed, Jun 26, 2019 at 1:19 AM Raja Sekar Sampath wrote: > Hi, > > What are the facts to be

Re: CSRF verification failed when I use smart phone

2019-06-25 Thread Aldian Fazrihady
Please make sure csrftoken cookie is returned to the Android app Regards, Aldian Fazrihady On Wed, 26 Jun 2019, 09:46 Robert F., wrote: > Make sure you aren't blocking cookies on whatever device is giving you > problems. You'll get this error if you are blocking them. > > On Tuesday, January

Re: Minimum Hardware requirement - reg

2019-06-25 Thread Sam Taiwo
I think think the first advice is way off base in two ways. 1) It's not clumsy to have 8 apps if that is the the structure of the project that makes each part encapsulated and reusable. 2) 30 concurrent users in one app can be more demanding than 1000 in another. It really depends on what each

Re: CSRF verification failed when I use smart phone

2019-06-25 Thread Robert F.
Make sure you aren't blocking cookies on whatever device is giving you problems. You'll get this error if you are blocking them. On Tuesday, January 6, 2015 at 1:09:46 AM UTC-8, Sugita Shinsuke wrote: > > Hello. > > When I use Django via my smart phone Android and iOS. > The error sometimes

Re: Internal Ranking System Application

2019-06-25 Thread Yoo
So serializers basically convert python native objects into json objects. Your viewset should be the one utilizing serializers. What you need to have is: serializers.py: class ProfileSerializer(serializer.ModelSerializer): class Meta: model = Profile fields = '__all__'

Re: Minimum Hardware requirement - reg

2019-06-25 Thread Yoo
8 app modules? That's a little clumsy. Something that would require that many app modules would be like docs.google.com and drive.google.com. Google has a LOT of different platforms which, if programmed in Django, would need several app modules. I'm 90% sure you'll only need one app. Hardware

Re: Internal Ranking System Application

2019-06-25 Thread Derek Dong
I've been working more on this and have encountered the following issue extending the User model into a Profile model: models.py: class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE, primary_key=True) grade = models.PositiveSmallIntegerField()

Re: Social media management

2019-06-25 Thread Yoo
Management platform? How so? Are you talking about authenticating users with OAuth? Like "sign up with Google" or "Sign up with Facebook" If so, you can check out: https://github.com/RealmTeam/django-rest-framework-social-oauth2 Otherwise, if you're talking about building an API like a Twitter

Re: Django create username and password, please help!

2019-06-25 Thread Yoo
Go to settings. Go to "Project: myproject" or whatever it says for myproject. Then press Project Interpreter and makes sure that Django is pip installed in that virtual environment. If it's not installed, do: pip install django If that's done, you can use the PyCharm terminal to do this:

Re: How to talk to API via HTTP on Django

2019-06-25 Thread Yoo
Use Django REST Framework and django-filters. Easy set-up. For something you're trying to do, you can send a request like: http://127.0.0.1:8000/api/testtable/?format=json=science/ Basically, this goes to the table Testtable, filters the queryset by some column category that returns all

Re: Django create username and password, please help!

2019-06-25 Thread Natukunda Pascal
Get to tools in pycharm, Under Tools select Run manage.py task. Then type this command " createsuperuser" and then press enter key. On Tuesday, June 25, 2019 at 6:05:24 PM UTC+3, Jackeline Peña Alejandro wrote: > > Hello everyone, > > I have a query, well is the first time I'm using django to

Re: invalid literal for int() with base 10: 'admin'

2019-06-25 Thread onyilimba martins mclaren tochukwu
I guess it's Django 2.2? -- 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 post to this group, send email to

How to talk to API via HTTP on Django

2019-06-25 Thread Dejan Batic
I'm newbie of course. I have this API documentation and I'm trying to figure out how to make this http request works. For example here is the reques that client sends: GET {URL}/api/{USER}:{PASS}/plaint/play_create*{PARAM1}*{SEQUENCE}*{GROUP}*{PARAM2} That line is from client and the server

Game on Python

2019-06-25 Thread Ido Tal
a = input("p") p = 0 if a=="enis": print("correct!!!") p += 1 else : print("incorrect!!!") print("The Answer was penis") print("you have " + str( p ) + " points") b = input("d") if b=="ick": print("correct!!!") p += 1 else : print("incorrect!!!") print("The

Re: invalid literal for int() with base 10: 'admin'

2019-06-25 Thread Harshit
This is my views.py from django.views import generic from django.views.generic import ListView from django.views.generic import DetailView,UpdateView,DeleteView from django.views.generic import CreateView from django.shortcuts import render,redirect from django.contrib.auth import

Re: Signals with update()

2019-06-25 Thread Yoo
If what I said is confusing, let me know where. I've been stuck on this for a looonngg time. On Tuesday, June 25, 2019 at 10:34:25 AM UTC-4, Yoo wrote: > > Hi, I have a problem with updating in Django signals regarding a specific > use-case hierarchy: > >

Minimum Hardware requirement - reg

2019-06-25 Thread Raja Sekar Sampath
Hi, What are the facts to be considered while determine the server configuration for a Django Application? My Client preferring self hosting, the project having 8 different (apps) modules and we expect 20 to 30 users concurrently login into the system and Its having automated cron jobs Thanks &

Re: Django User model

2019-06-25 Thread AMOUSSOU Kenneth
Thank you very much! -- 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 post to this group, send email to

Re: Javascript File is not responding

2019-06-25 Thread Soumen Khatua
Thank you for your email. Now it's woring after added it under Bootstrap link. Thank You Regards, Soumen On Tue, 25 Jun 2019, 20:34 ravikumar dingari, wrote: > Can U send , How to set Forget PasswordIn django...With user models > > On 25-Jun-2019 1:25 PM, "Soumen Khatua" wrote: > >>

Re: invalid literal for int() with base 10: 'admin'

2019-06-25 Thread Sipum Mishra
Plz share views.py as well.. I hvae mentioned two. Kindly share. On Tue, 25 Jun, 2019, 8:47 PM Harshit, wrote: > Here is urls.py of my app > > from django.urls import path > from . import views > from django.conf import settings > from django.conf.urls.static import static > > app_name="music"

Re: invalid literal for int() with base 10: 'admin'

2019-06-25 Thread Harshit
Here is urls.py of my app from django.urls import path from . import views from django.conf import settings from django.conf.urls.static import static app_name="music" urlpatterns=[ #/music/ path('',views.IndexView.as_view(),name='index'),

Social media management

2019-06-25 Thread Django Dojo
Are there any packages that will allow me to build a social media management platform? -- 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

Re: Javascript File is not responding

2019-06-25 Thread ravikumar dingari
Can U send , How to set Forget PasswordIn django...With user models On 25-Jun-2019 1:25 PM, "Soumen Khatua" wrote: > Hi Folks, > > When I'm using my javasscript/jquery code inside django template then it's > working fine but when I'm save it in external file called main.js then it's >

Django create username and password, please help!

2019-06-25 Thread Jackeline Peña Alejandro
Hello everyone, I have a query, well is the first time I'm using django to create web pages, I would like help in that sense, I have to create a username and password, I would like guidance on it, there are tutorials on youtube, but do not help me, because the course of following the steps,

Django create username and password, please help!

2019-06-25 Thread Jackeline Peña Alejandro
Hello everyone, I have a query, well is the first time I'm using django to create websites, I would like help in that sense, I have to create a username and password, I would like guidance on it, I know there are tutorials on youtube, but do not help me, because the course of following the

Signals with update()

2019-06-25 Thread Yoo
Hi, I have a problem with updating in Django signals regarding a specific use-case hierarchy: https://gist.github.com/andrewcw825/90375d77578afea23ec4886f18e063b4 Hi, so here's the problem: once the objects for Public1 are created, I need to update each object in the queryset of Private1 of a1

Re:

2019-06-25 Thread Bob Gailer
Oh goodie. When will they be delivered? On Jun 25, 2019 2:53 AM, "Benjamin SOULAS" wrote: > -- > 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

Re: invalid literal for int() with base 10: 'admin'

2019-06-25 Thread Sipum Mishra
Can u plz attach your urls.py as functions associated in views.py Thanks. On Mon, 24 Jun, 2019, 8:08 PM Harshit Agarwal, wrote: > Hi guys, > I am currently working on a working on a project. Everything is working > fine but i am not able to access my admin. How can i solve this? > Here is my

Re: Javascript File is not responding

2019-06-25 Thread Andréas Kühne
Hi, I am guessing that you add this to the part of your template? I think the problem is that you haven't created the item with the "show-more" class before adding an event listener to it. Try adding: $(window).ready(function() { }); around your js function. Regards, Andréas Den tis 25

Re: why-do-i-get-an-error-about-importing-django-settings-module

2019-06-25 Thread Taylor Hughes-Scott
Based on the screenshots, that is not an error. That is just the standard django code that your seeing. It trying to import settings and if they don't exist then it will show that error. I recommend going through the django tutorial https://docs.djangoproject.com/en/2.2/intro/tutorial01/ On