Re: Issue with serving angular with django

2020-06-03 Thread Andréas Kühne
Hi again, How are you serving the django application? As far as I know the only way to get django to serve your staticfiles (which you are describing) is to set DEBUG to true and also use the runserver command. How do you get the paths to the static files? What I would do is the following: 1.

Re: Issue with serving angular with django

2020-06-02 Thread Sunday Iyanu Ajayi
Hi Andréas , It actually followed the digital oceans setup in setting up the nginx server *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Mon, Jun 1, 2020 at 6:24 PM Andréas Kühne wrote: > Hi Sunday, > > No - you don't. What collectstatic does is it collects all of the

Re: Issue with serving angular with django

2020-06-01 Thread Andréas Kühne
Hi Sunday, No - you don't. What collectstatic does is it collects all of the static files to the path where they should be stored. This should be a directory that should be served from nginx or apache or any other webserver. When you run manage.py runserver - you run a development server that

Re: Issue with serving angular with django

2020-06-01 Thread Sunday Iyanu Ajayi
Hi Kasper, Thanks for the response. I serve my static file by running python manage.py collectstatic on the built file I get from the frontend angular guy *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Mon, Jun 1, 2020 at 2:55 PM Kasper Laudrup wrote: > Hi Sunday, > > On

Re: Issue with serving angular with django

2020-06-01 Thread Chetan Ganji
You should use nginx to serve angular n static files and gunicorn for python Below tuts might help you. https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-18-04 Look for a tutorial without docker.

Re: Issue with serving angular with django

2020-06-01 Thread Kasper Laudrup
Hi Sunday, On 01/06/2020 15.48, Sunday Iyanu Ajayi wrote: Please What am I doing wrong? Or are there better ways of serving angular build files on django? You haven't described how you are currently serving static files with Django. I suggest you start by reading this:

Issue with serving angular with django

2020-06-01 Thread Sunday Iyanu Ajayi
Hi guys, I am working on a project which is made up of an angular and a django part. - The frontend dev develops the frontend, makes a build and forwards to me - I get the build and serve it using python manage.py collectstatic But my challenge is that 1. It only works when debug is set

Re: How can I send an outlook mail from angular using django

2019-06-13 Thread Andréas Kühne
email through django. However i do > know django has a basic email sending built in have you had a look at that? > https://docs.djangoproject.com/en/2.2/topics/email/ > > On Thu., 13 Jun. 2019, 10:41 am Sai Aravind, > wrote: > >> How can I send an outlook mail from angular us

Re: How can I send an outlook mail from angular using django

2019-06-12 Thread Taylor Hughes-Scott
rom angular using django can u please > provide a y document for this > > -- > 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-

How can I send an outlook mail from angular using django

2019-06-12 Thread Sai Aravind
How can I send an outlook mail from angular using django can u please provide a y document for this -- 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

Re: Angular 2 + Django + Postgresql

2017-05-09 Thread marcin . j . nowak
>From my personal experience: - make frontend (angular) almost 100% separate from backend (django) - if you want to build truly restful service, avoid DRF (more precisely -- avoid whole "magical" model views, which implements CRUD antipattern) - focus on hypermedia (i.e. use Hydra,

RE: Angular 2 + Django + Postgresql

2017-05-08 Thread Yeddu J Prasad
Thank you Elorm. From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Elorm Koku Sent: Monday, May 8, 2017 7:56 PM To: django-users@googlegroups.com Subject: RE: Angular 2 + Django + Postgresql My best bet: expose django with drf and use angular

RE: Angular 2 + Django + Postgresql

2017-05-08 Thread Yeddu J Prasad
go the Django way and use migrate. Thank You. From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Matthew Pava Sent: Monday, May 8, 2017 6:39 PM To: 'django-users@googlegroups.com' <django-users@googlegroups.com> Subject: RE: Angular 2 + Django +

RE: Angular 2 + Django + Postgresql

2017-05-08 Thread Elorm Koku
My best bet: expose django with drf and use angular as a frontend. On May 8, 2017 1:10 PM, "Matthew Pava" <matthew.p...@iss.com> wrote: > There is a third-party app for Django and Angular called Djangular: > > https://github.com/appliedsec/djangular > > >

RE: Angular 2 + Django + Postgresql

2017-05-08 Thread Matthew Pava
There is a third-party app for Django and Angular called Djangular: https://github.com/appliedsec/djangular I have used neither Angular nor Djangular. I do use Windows 10 with PostgreSQL without any problems. You don’t need to create tables in PostgreSQL. Just run the migrate command. From

Angular 2 + Django + Postgresql

2017-05-08 Thread yeddu . j . prasad
Dear Experts, I am planning to build an application using this stack. Any blogs / videos / Links that can help me understand how these three connect will be a great help. Specific questions I am trying to answer are. 1. Will I be able to integrate Django with Angular easily. Does

Re: Angular and Django

2014-06-22 Thread Andrew Farrell
onships >> however and whenever you want - any data you need in the view needs to be >> added to the API first. >> >> This isn't *quite* ready for public consumption yet, but here's something >> I've been working on - a kit for building hybrid Django + Angular sites: &g

Re: Angular and Django

2014-06-22 Thread Phang Mulianto
ugh. For example, you can't traverse model relationships however and > whenever you want - any data you need in the view needs to be added to the > API first. > > This isn't *quite* ready for public consumption yet, but here's something > I've been working on - a kit for building hybr

Re: Angular and Django

2014-06-22 Thread Scot Hacker
something I've been working on - a kit for building hybrid Django + Angular sites: https://github.com/shacker/tristano On Saturday, June 21, 2014 4:03:17 PM UTC-7, zweb wrote: > > > I was looking at Angular and looks like it does many of the thing Django > Templates does but on the

Re: Angular and Django

2014-06-22 Thread Doug Snyder
directives to share around, > its going to become more and more powerful. > > > > On Sun, Jun 22, 2014 at 11:25 AM, Doug Snyder <webcoach...@gmail.com> > wrote: > >> be sure to check out: django-angular >> <http://django-angular.readthedocs.org/en/latest/index.h

Re: Angular and Django

2014-06-22 Thread Doug Snyder
folks aren't afraid of getting into the pudding. As people write more and more reuseable directives to share around, its going to become more and more powerful. On Sun, Jun 22, 2014 at 11:25 AM, Doug Snyder <webcoach...@gmail.com> wrote: > be sure to check out: django-angular > &l

Re: Angular and Django

2014-06-22 Thread Doug Snyder
be sure to check out: django-angular <http://django-angular.readthedocs.org/en/latest/index.html> I'm just starting to use angular and django together. I plan on using django's integration with Content Delivery Networks to serve static files including the Angular app files ( AngularJS itse

Re: Angular and Django

2014-06-22 Thread Glen Jungels
ooks like it does many of the thing Django > Templates does but on the client side. > > Are you using Angular with Django? How is the experience? What are the > /pros/cons? What are using django for and what are you using angular for? > Is django pretty much a rest framework with busin

Angular and Django

2014-06-22 Thread zweb
I was looking at Angular and looks like it does many of the thing Django Templates does but on the client side. Are you using Angular with Django? How is the experience? What are the /pros/cons? What are using django for and what are you using angular for? Is django pretty much a rest