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.
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
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
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
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.
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:
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
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
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 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
>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,
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
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 +
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
>
>
>
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
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
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
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
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
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
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
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
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
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
24 matches
Mail list logo