Re: Polls app not showing?

2019-06-27 Thread vignesh karthik
Create virtual environment On Fri, Jun 28, 2019, 6:14 AM ScottW wrote: > The server ran a few weeks ago before I ran into this issue. I used the > run server command just now and now its not working. Interesting > > On Thursday, June 27, 2019 at 3:09:29 PM UTC-4, karthikvignesh28 wrote: >> >>

Error when displaying videos on iOS and Safari, but fine in Chrome

2019-06-27 Thread Walker Obrien
I have a social media application in the early stages of deployment, and when videos are uploaded they are getting displayed perfectly fine when visiting the site on chrome but they are not being displayed correctly when using iOS or Safari... Any suggestions? -- You received this message

Re: need help - following django tutorial to create polls database - missing "on delete cascade" - using django 2.2.1 with mysql 8.0

2019-06-27 Thread Rudy Quiroga Gamboa
Hi, I have the same problem, did you find the problem or the solution ? El martes, 28 de mayo de 2019, 20:44:44 (UTC-4), K Tan escribió: > > Hi, everyone, > > This is my first time using Django and I think I'm missing something or > there is a bug. I am following the instructions on ( >

Re: Polls app not showing?

2019-06-27 Thread ScottW
The server ran a few weeks ago before I ran into this issue. I used the run server command just now and now its not working. Interesting On Thursday, June 27, 2019 at 3:09:29 PM UTC-4, karthikvignesh28 wrote: > > > > On Thursday, June 27, 2019 at 8:04:39 AM UTC+5:30, ScottW wrote: >> >> Hi, >>

Re: Polls app not showing?

2019-06-27 Thread ScottW
Yep, followed the instructions to a tee on the Django site On Thursday, June 27, 2019 at 9:28:53 AM UTC-4, Joe Reitman wrote: > > Did you create a project first with the 'startproject' command? > > On Wednesday, June 26, 2019 at 9:34:39 PM UTC-5, ScottW wrote: >> >> Hi, >> >> I'm attempting to

Re: Polls app not showing?

2019-06-27 Thread ScottW
Where exactly do I find installed apps? The settings python file doesn't open. On Thursday, June 27, 2019 at 2:32:51 AM UTC-4, ojakol emma wrote: > > first go to installed apps in settings then you install that app "POLLS" > > On Thu, Jun 27, 2019 at 5:33 AM ScottW > > wrote: > >> Hi, >> >>

Join on Subquery with multiple columns

2019-06-27 Thread Richard
I have the following model (not actual, but enough for sample purposes): class TransactionLine(models.Model): txn_id = models.IntegerField() entity = models.CharField(max_length=10, null=True, default=None) order = models.PositiveIntegerField() what I'm trying to do is "find the first

Re: Beginner's question regarding prefetch_related

2019-06-27 Thread Charlotte Wood
What are you trying to do? On Thu, Jun 27, 2019, 2:09 PM swimmer wrote: > Dear Django community, > > I have a data model that looks like the following: > > class Submission(models.Model): >... > > class Assessment(models.Model): >submission = models.ForeignKey( >Submission,

Re: Migraciones con dos aplicaciones en un proyecto de Django

2019-06-27 Thread Miguel Ángel Cumpa Ascuña
hola, el procedimiento debería ser el mismo, python manage.py makemigrations python manage.py migrate éxitos! El jue., 27 jun. 2019 a las 13:56, Tatiana Mesa () escribió: > Hola a todos, > > Me gustaría saber si al momento de hacer una migración (migrate), con dos > aplicaciones en un proyecto

How to download campaign performance report with filter by list of id in campaign_name

2019-06-27 Thread dark knight645
Hi, I have for example a bunch of campaigns with name's pattern like this : 'this is a gdn campaign - 233432' , Now I am using Python SDK to download report for each gdn campaign name, but filter by this number 233432 as an id. so my report query looks like this: I can request each report by

Re: Django create username and password, please help!

2019-06-27 Thread vignesh karthik
Hi there! Can You please Tell me the exact Error Details, So i can Trouble shoot your problem On Thu, Jun 27, 2019 at 3:11 PM ojakol emma wrote: > YOU NEED TO CREATE A SUPERUSER FIRST TRY TYPING: > > "python manage.py createsuperuser" > then you fill in the information they need > NOTE when

Beginner's question regarding prefetch_related

2019-06-27 Thread swimmer
Dear Django community, I have a data model that looks like the following: class Submission(models.Model): ... class Assessment(models.Model): submission = models.ForeignKey( Submission, on_delete=models.CASCADE, related_name='assessments') time_stamp = models.DateTimeField()

Re: Polls app not showing?

2019-06-27 Thread karthikvignesh28
On Thursday, June 27, 2019 at 8:04:39 AM UTC+5:30, ScottW wrote: > > 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

Migraciones con dos aplicaciones en un proyecto de Django

2019-06-27 Thread Tatiana Mesa
Hola a todos, Me gustaría saber si al momento de hacer una migración (migrate), con dos aplicaciones en un proyecto cambia el comando, o cual debo ejecutar primero. O si el procedimiento es igual que con una sola aplicaciones Gracias -- You received this message because you are subscribed to

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

2019-06-27 Thread Harshit
It worked!. Thanks Piotr Duda On Wednesday, June 26, 2019 at 6:11:24 PM UTC+5:30, Piotr Duda wrote: > > 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

Re: Creating pdf in python

2019-06-27 Thread Peter van der Does
wkhtmltopdf is pretty good. If you are designing for PDF I recommend using mm instead of px, 0 margins, and disable smart shrinking. It will make the design process smoother. On 6/27/19 10:45 AM, Django Dojo wrote: > Hello everyone, > > I have a pdf template and I need different Individuals(s)

Re: Creating pdf in python

2019-06-27 Thread Jani Tiainen
I've been also very succesful with wkhtmltopdf. to 27. kesäk. 2019 klo 18.44 Larry Martell kirjoitti: > On Thu, Jun 27, 2019 at 10:45 AM Django Dojo > wrote: > > > > Hello everyone, > > > > I have a pdf template and I need different Individuals(s) to fill out > different sections of the

Re: Creating pdf in python

2019-06-27 Thread Larry Martell
On Thu, Jun 27, 2019 at 10:45 AM Django Dojo wrote: > > Hello everyone, > > I have a pdf template and I need different Individuals(s) to fill out > different sections of the document on the web using online form(s). Is there > an Django package that will allow me to do this? > > Ex: end user

Re: Creating pdf in python

2019-06-27 Thread Irfan Khan
I have used *xhtml2pdf* library. Here https://djangopackages.org/grids/g/pdf/ This one can help you which is suitable for Requiremnt On Thu, 27 Jun 2019 at 8:16 PM, Django Dojo wrote: > Hello everyone, > > I have a pdf template and I need different Individuals(s) to fill out > different

Creating pdf in python

2019-06-27 Thread Django Dojo
Hello everyone, I have a pdf template and I need different Individuals(s) to fill out different sections of the document on the web using online form(s). Is there an Django package that will allow me to do this? Ex: end user will go to a web form and fill out information which will be

Re: Polls app not showing?

2019-06-27 Thread Joe Reitman
Did you create a project first with the 'startproject' command? On Wednesday, June 26, 2019 at 9:34:39 PM UTC-5, ScottW wrote: > > 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 >

Re: Website advice/ Django packages

2019-06-27 Thread Joe Reitman
probably not. I would assume the store price info, etc in a database On Thursday, June 27, 2019 at 7:10:07 AM UTC-5, Django Dojo wrote: > > I’m looking to develop similar to: > https://www.northwestregisteredagent.com but I’m confused on how the > prices change for each state. Is there a

anonymous user in django app

2019-06-27 Thread Gaurav Sahu
Hy, I have a Django blog app. I want to add a feature in which a registered user can add a post anonymously. But I couldn't figure out how to do it. Anybody help me how can I implement this feature? It will be a great help. Thanks in advance. -- You received this message because you are

Re: How to connect Django with Hbase

2019-06-27 Thread Joe Reitman
Django only supports a few relational databases out of the box. Oracle, mysql, postgres and sqlite. There may be some 3rd party packages out there via google search. The other option is to write your own db backend. On Wednesday, June 26, 2019 at 9:59:46 AM UTC-5, Varun Kumar wrote: > >

Website advice/ Django packages

2019-06-27 Thread Django Dojo
I’m looking to develop similar to: https://www.northwestregisteredagent.com but I’m confused on how the prices change for each state. Is there a Django package for this? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Django create username and password, please help!

2019-06-27 Thread ojakol emma
YOU NEED TO CREATE A SUPERUSER FIRST TRY TYPING: "python manage.py createsuperuser" then you fill in the information they need NOTE when you are typing your password it is not seen so you have to be careful thanks for more inquiries please contact +256 780738146 even me i deal django projects

Re: Heroku and DJango_Filters

2019-06-27 Thread Sithembewena L. Dube
It would be helpful to do a clean setup and then view the log files. Kind regards, Lloyd On Thu, Jun 27, 2019, 01:58 Charlotte Wood < charlotte.w...@epiccharterschools.org> wrote: > yes, but look at the error...now it isn't recognize the django-heroku app > all of a sudden. it's not yielding

Re: Using OAuth2 with Django

2019-06-27 Thread Aldian Fazrihady
Hi Derek, If you are using Django OAuth Toolkit there is authorization URL in this path: /o/authorize Regards, Aldian Fazrihady On Thu, Jun 27, 2019 at 10:15 AM Derek Dong wrote: > So I've been trying to learn how to authenticate users in my Django > application with OAuth. > The token

Re: Polls app not showing?

2019-06-27 Thread ojakol emma
hv you got it On Thu, Jun 27, 2019 at 9:31 AM ojakol emma wrote: > first go to installed apps in settings then you install that app "POLLS" > > On Thu, Jun 27, 2019 at 5:33 AM ScottW wrote: > >> Hi, >> >> I'm attempting to get started with Django and very first part of the >> polls app. When

Re: Polls app not showing?

2019-06-27 Thread ojakol emma
first go to installed apps in settings then you install that app "POLLS" On Thu, Jun 27, 2019 at 5:33 AM ScottW wrote: > 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