Personally I don't use any library between Angular and Django (so I don't
know about django-angular).
I create specific templates for Angular so I don't have to change the {{
and }] syntax (you can also use the {% verbatim %} tag in your templates if
you don't want to create individual templates).
If you want to do notifications with SwampDragon there is a blog post about
that here:
http://wildfish.com/blog/2014/12/09/swampdragon-real-time-django-notifications/
(including desktop notifications from the browser) along with a Github repo
with the source code.
You could probably take most of that code and adopt it to your own project.
On Friday, January 2, 2015 1:36:40 PM UTC+1, Shazwi Suwandi wrote:
>
> Hi group,
>
> I'd like to get some guidance on how to go about thinking about the
> structure of the web app I'm trying to build.
> From a high level perspective, I'm trying to make a web app that
> facilitates a small business doing camera rentals.
>
> To give a use case, if a user makes a rental booking for a customer in the
> web app, it'll send a notification to the user
> who is in charge of packing the items in real-time. I was searching up
> about real-time Django and I landed onto
> Swampdragon, which led me to learn about Angular.js (I know, I don't have
> to use Angular for Swampdragon but I was
> kinda curious). That then led me to learn how much I can shift items like
> validation to the client side and leave Django to
> do the rest.
>
> Some questions I'd like to ask:
> 1) Am I adopting the right approach to make the app real time? In this
> case, using Swampdragon for subscribing to messages etc.
> 2) Is django-angular an appropriate way to integrate Angular.js with
> Django? It'd be nice to use a lot of the client side functionalities of
> Angular.
>
> Curious and a little bit overwhelmed.
>
>
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/31bbb0e2-1997-40d4-87dd-0a0c61b28653%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.