Good stand alone blog app for django 3.0 >

2020-03-14 Thread Danny Blaker
Hi! I've been testing a few good blog apps (Pinax, Pupet/Wagtail - https://github.com/APSL/puput) etc - how ever they are currently only available for django 2. Does any one know a similar blog app that is django 3 compatible? I have been looking to no avail. Many Thanks! -- You received this

pass a variable from another site to your django site

2019-06-08 Thread Danny Blaker
Scenario: You have built a chat bot (RASA-NLU for chat page + django for the rest of the site) that helps people with advice on gardening products. A major gardening retailer has approached you and asked if you could put a button on their product detail view pages, so that when a user clicks it,

Django compressor issue - media assets from the forms.py won't update in the frontend django template

2019-05-25 Thread Danny Blaker
We are currently experiencing an issue with the Django compressor: We have an app that has forms.py and its media assets from the forms.py won't update in the frontend django template (only stuff inside the django compress tag won't update). This problem came about when we initially included ex

Generate PDF using reportlab and write to s3 bucket without saving locally

2019-04-22 Thread Danny Blaker
I'm trying to generate a PDF using reportlab and write to s3 bucket without saving locally I know I'm missing something simple: # create a stream stream = io.BytesIO() # generate PDF doc = SimpleDocTemplate(stream, pagesize=letter, rightMargin=72, leftMargin=72,

Django + PostgreSQL Installation (pipenv install psycopg2)

2019-04-10 Thread Danny Blaker
https://github.com/psycopg/psycopg2/issues/699 Try updating pip too :) -- 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

Django + PostgreSQL Installation (pipenv install psycopg2)

2019-04-10 Thread Danny Blaker
https://www.google.com/url?sa=t&source=web&rct=j&url=https://stackoverflow.com/questions/11618898/pg-config-executable-not-found&ved=2ahUKEwitxePlncfhAhVDwIsBHeQbBTEQjjgwAHoECAkQAg&usg=AOvVaw1ujp9GSEZRKKrkOSHWdMiD -- You received this message because you are subscribed to the Google Groups "Djan

Re: best way to generate PDFs in django - handling concurrency

2018-12-28 Thread Danny Blaker
Great. Thanks -- 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 django-users@google

Re: best way to generate PDFs in django - handling concurrency

2018-12-27 Thread Danny Blaker
Thanks! -- 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 django-users@googlegroups

Re: how can I work with multi model forms

2018-12-27 Thread Danny Blaker
https://docs.djangoproject.com/en/2.1/topics/forms/modelforms/#inline-formsets https://github.com/elo80ka/django-dynamic-formset/blob/master/docs/usage.rst https://github.com/elo80ka/django-dynamic-formset/blob/master/INSTALL.rst clone the above, then check the examples On Wednesday, 26 Decem

Re: Error while running local server

2018-12-27 Thread Danny Blaker
run pip freeze in terminal and make sure its installed in your virtual env On Friday, 28 December 2018 01:25:15 UTC+11, Shekhar Nunia wrote: > > Two days ago my project was working properly but now when I start my > project I get this error and I'm not able to figure out what the problem > is, i

Re: DJANGO FOR FINANCE !

2018-12-27 Thread Danny Blaker
depending on processing time for formulars, you might want to consider a broker setup : https://realpython.com/asynchronous-tasks-with-django-and-celery/ if processing time is negligible then no need On Saturday, 22 December 2018 07:29:20 UTC+11, Mohamed Hashi wrote: > > i have a problem with mo

best way to generate PDFs in django - handling concurrency

2018-12-27 Thread Danny Blaker
we're building an app for the council where users fill in a form, then we generate a PDF (containing a page of text), and users get a download link on the homepage. we expect many users to submit forms concurrently. I see 2 approaches: 1. Generate in the view as per documentation : https://do

dynamic form and model instances - what is the best method?

2018-12-18 Thread Danny Blaker
Hi! I hope the following will help future django developers. Scenario: We need a form that allows the user to *add *and *remove* referees from a resume: see (rough) snippet below: (using materializecss) Reference Name