Skip to content

v 0.2.5 and support for Angular 1.2.3 #18

@jkozlowicz

Description

@jkozlowicz

Today I installed djangular via pip ( pip shows djangular (0.2.5)) and I ended up with version 1.0.7 set by default.

I am using following code to include angular sources in templates:

        <script src="{{ STATIC_URL }}lib/angular/angular.js"></script>
        <script src="{{ STATIC_URL }}lib/angular/angular-cookies.js"></script>
        <script src="/djangular/app.js"></script>

I got it installed into site-packages ( using virtualenv ) and there are two directories: "djangular", which contains files for version 1.0.7 and "angular12", which containes files for version 1.2.3.

Command "makeangularapp" generates file structure for version 1.0.7 ( ngRoutes isn't included in app's dependencies and I know that module was pulled out of angular.js file in later version ).

I don't know how to use it properly to support angular 1.2.3 and I followed the instructions in readme. However as I browsed the content of this repo on github it shows sources for 1.2.3. I am quite confused, could you tell me how to set up this for 1.2.3?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions