Re: Look forward to taking part in open source projects

2019-06-26 Thread Lutalo Bbosa joseph
for opensource contributions visit www.codetriage.com it has many open source issues that need contributors On Thu, Jun 27, 2019 at 6:55 AM wanbao jin wrote: > Hello, everyone. > I am a python developer and not doing python related works for 2 months. > I'd like to join open source projects and

Look forward to taking part in open source projects

2019-06-26 Thread wanbao jin
Hello, everyone. I am a python developer and not doing python related works for 2 months. I'd like to join open source projects and sharpen my python skills. Look forward to hearing from you. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Django

Using OAuth2 with Django

2019-06-26 Thread Derek Dong
So I've been trying to learn how to authenticate users in my Django application with OAuth. The token provider has already been established, and the provided documentation is here: https://ion.readthedocs.io/en/latest/developing/oauth.html However, once I've followed the instructions in the

Polls app not showing?

2019-06-26 Thread ScottW
Hi, I'm attempting to get started with Django and very first part of the polls app. When I type "python manage.py startapp polls" into the Windows Powershell I don't see a folder for it in my file explorer under "mysite". Even stranger is that when I type 'tree' for this folder it shows that

Re: Get Value of Drop Down

2019-06-26 Thread Sipum Mishra
Hello csn u plz share ur codes as well as errors. On Thu, 27 Jun, 2019, 12:09 AM Aayush Bhattarai, < bhattaraiaayus...@gmail.com> wrote: > Hi, > I have encountered a problem. How can I get the value of dropdown, > Boolean Field and send it to the database. Note: I am not using forms.py > files

Re:

2019-06-26 Thread Abishek Goda
It depends. I think it makes sense if you are considering multiple frontends as in an API driven application. Consider having a bunch of native apps (one for each platform) and a web app. In this case, you will end up maintaining two views for each action  - one to display the HTML and another

Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
yes, but look at the error...now it isn't recognize the django-heroku app all of a sudden. it's not yielding any error on django_filters. you think my python is corrupt? Charlotte Wood, MEd Educator (405) 578-5701 Zoom Meeting ID#: 4055785701 *Zoom URL:*

Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
remote: File "/tmp/build_c255721dd1d2732fd6d23e4f7726e08a/freshstart/settings.py", line 6, in remote:import django_heroku remote:ModuleNotFoundError: No module named 'django_heroku' Charlotte Wood, MEd Educator (405) 578-5701 Zoom Meeting ID#: 4055785701 *Zoom

Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
Hi Charlotte, I spotted the problem. You need to add 'django-filters' to your settings.py file. Like so: INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages',

Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
Charlotte, I am now typing from my phone (away from my desk) but if you still need help after trying out my last recommendation, I would be happy to look at it for you. Kind regards, Lloyd On Wed, Jun 26, 2019, 17:59 Charlotte Wood < charlotte.w...@epiccharterschools.org> wrote: > I need help.

Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
Thanks everyoneso I've unistalled and reinstalled everything and same errors. I so much appreciate ANY help: settings.py file reads like this: import os import django_heroku from decouple import config import dj_database_url BASE_DIR =

Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
As per: https://github.com/carltongibson/django-filter Kind regards, Lloyd *Sent with Shift * On Wed, Jun 26, 2019 at 9:26 PM Fabio C. Barrionuevo

Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
Charlotte, is django-filters listed in your settings file on Heroku as below? INSTALLED_APPS = [ ... 'django_filters', ] Kind regards, Lloyd *Sent with Shift

Re: Heroku and DJango_Filters

2019-06-26 Thread Fabio C. Barrionuevo da Luz
make sure that you use the right package in your requirements.txt This is the package that everyone uses: django-filter https://pypi.org/project/django-filter/ This is another package with a very similar name https://pypi.org/project/django-filters/ Em qua, 26 de jun de 2019 às 16:21,

Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
It's not stupid to ask :) You could run the "pip freeze" command and then see what pip on Heroku says it has. Also, perhaps your virtual environment's site packages directory on Heroku is not on the Python path. I have had such a challenge on WebFaction, but having never used Heroku I wouldn't

Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
I have that. That's not the problem. My specific problem is django_filters. My app worked totally fine until I added these filters. My questions was: has anyone had trouble with django-filters and if so, how did you fix it? Charlotte Wood, MEd Educator (405) 578-5701 Zoom Meeting ID#:

Re: Heroku and DJango_Filters

2019-06-26 Thread Fabio C. Barrionuevo da Luz
Heroku use a "buildpack" https://devcenter.heroku.com/articles/buildpacks to do automate some things in the deployment. you can attach one or more buildpacks to your project in heroku you can also create your own buildpack to customize it. specifically for Python, the heroku python buildpack (

Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
I am currently uninstalling and re-installing everylthing, but I would love for you to help with this issue. Charlotte Wood, MEd Educator (405) 578-5701 Zoom Meeting ID#: 4055785701 *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912 Classroom Google Site:

Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
ok, stupid question is there a heroku pip install? all of my dependencies are installed and listed on my requirements.txt file just like they're supposed to be. do i pip install somewhere OTHER than my folder in my virtual environment? i could be totally crazy, but i don't remember every

Re: Heroku and DJango_Filters

2019-06-26 Thread SOUMAHORO Moussa
Hi Charlotte, If you are using a versionning manager like git, you can create another branch from the branch that contains the bug and reset the bug branch to one of your commit which is good and go step by step to avoid the error that you got. Le mer. 26 juin 2019 à 17:07, Sithembewena L. Dube

Get Value of Drop Down

2019-06-26 Thread Aayush Bhattarai
Hi, I have encountered a problem. How can I get the value of dropdown, Boolean Field and send it to the database. Note: I am not using forms.py files and using a function-based view. I have created own form in HTML. I am not able to match the value of database and value in html dropdown. --

Re: Heroku and DJango_Filters

2019-06-26 Thread Arahmat Ayoub
Hi Charlotte , i 'd happy to help with your issue [image: Mailtrack] Sender notified by Mailtrack 06/26/19, 06:10:23 PM Le

Re:

2019-06-26 Thread Andréas Kühne
Hi, Yes it would make sense depending on what you want to build. I have personally built both a complete Django fullstack application, serving entire html pages (with some javascript) and also a django rest framework based backend with a angular 8 frontend. So you can definitely build it and it

Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
Oops - I meant 'such as'. Kind regards, Lloyd *Sent with Shift * On Wed, Jun 26, 2019 at 7:06 PM Sithembewena L. Dube wrote: > It sounds like the

Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
It sounds like the package django-filters is not installed on your Heroku environment. Do you have a dependency file suck as a Pipfile or requirements.txt? If you do, you will need to install all dependencies listed there on your Heroku server (at least those you need for production use). Kind

Getting posts of a category in blog application

2019-06-26 Thread Gaurav Sahu
I want to grab all the posts of a particular category. I am passing th url like this: {% url 'blog:post_list' %}?category={{ cat }}. But I am not able how to return the queryset for posts of the category cat passed in the url. my Post model: class Post(models.Model): title =

Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
The only error I keep seeing is "No Module Found" for django-filters But, I don't understand why it runs perfectly on my local host, every single page, then heroku just hates django filters. I was hoping someone else had the same issues and remembered. But, I will follow up with the error logs

Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
Hi Charlotte, What sort of error do you see? Also, have your checked your logs on Heroku? Lastly, if you have a sandbox on Heroku, you could run the site there in debug mode to get more specific error information. Kind regards, Lloyd *Sent with Shift

Re: Heroku and DJango_Filters

2019-06-26 Thread Fabio C. Barrionuevo da Luz
Is very hard to help you without the full traceback of the errors. run: heroku logs put the output into https://gist.github.com/ and send the generated link. ps: make sure you remove from the traceback any line related to password, api keys Many years ago, they recommended me to read this

Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
I need help. I've followed the directions to a "T." 1. My site works PERFECTLY on my local host in my virtual environment. NO errors, migrates fine, runs fine and looks beautiful. 2. BEFORE I added Django-filters to my pages, it worked GREAT on Heroku. 3. AS SOON as I put the

How to connect Django with Hbase

2019-06-26 Thread Varun Kumar
Hello folks , Does anyone know how to connect django with hbase as db ? *Regards,* *Varun Kumar * *Mob: +91-8884601515* *email: varunsingh...@gmail.com * -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

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

2019-06-26 Thread Piotr Duda
Try move first path to end in your main urls.py. W dniu wtorek, 25 czerwca 2019 17:17:04 UTC+2 użytkownik Harshit napisał: > > 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 > >

Re: Social media management

2019-06-26 Thread ravikumar dingari
Uid64 and tokens While trying to send password reset link to mail... Error came On 25-Jun-2019 8:35 PM, "Django Dojo" wrote: > 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

Re: Django create username and password, please help!

2019-06-26 Thread nitish kumar
Hi Jackeline ... Are you able to start the server using (python manage.py runserver) if yes you can create super user using below command python manage.py createsuperuser after giving username and password navigate to below URL http://localhost:8000/admin/ and use the superuser credentials to

Re: CSRF verification failed when I use smart phone

2019-06-26 Thread Anirudh Jain
Are you using it as a website or mobile app? If it is website then try logging out and login again. You might have logged in as another user or it might be a caching problem. On Wed, 26 Jun 2019, 08:31 Aldian Fazrihady, wrote: > Please make sure csrftoken cookie is returned to the Android app >

Re:

2019-06-26 Thread Aldian Fazrihady
It is quite common that Django to be treated mostly as API backend and to deliver a very basic HTML template to inform the browser about the URL of the Angular JavaScript. Regards, Aldian Fazrihady On Wed, Jun 26, 2019 at 3:18 PM Pradeep Singh wrote: > Does it make sense to create an

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

2019-06-26 Thread Sipum Mishra
Your problem is, in url you are passing id to detailview, but in views.py you have done anything with that... Check this again. On Wed, 26 Jun, 2019, 4:01 AM onyilimba martins mclaren tochukwu, < tochimcla...@gmail.com> wrote: > I guess it's Django 2.2? > > -- > You received this message

[no subject]

2019-06-26 Thread Pradeep Singh
Does it make sense to create an application with Django as the backend and Angular as the front end? I understand entire websites can be built from Django, so how would Angular, as a front end framework, work with Django? What would be the benefit of adding Angular, or is it an unnecessary

Re: Social media management

2019-06-26 Thread Django Dojo
I’m looking for something similar to buffer. Should I use an api or are there packages in Django that will make it easier. Thank you all for your answer(s) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and