Giter Site home page Giter Site logo

dimkoug / tododjangoccb Goto Github PK

View Code? Open in Web Editor NEW
37.0 4.0 17.0 2.2 MB

A todo application with django web framework with class based views and ajax modal crud

Python 60.98% HTML 28.32% CSS 6.42% JavaScript 4.28%
django ajax class based views todo

tododjangoccb's Introduction

Django todo application with ajax modal popup and class based views

Quick start

  1. Clone repo like this:

    git clone  https://github.com/dimkoug/tododjangoccb.git
    
  2. Create a virtualenv:

    python3 -m venv virtualenv
    
  3. Activate virtualenv

  4. Install packages from requirements.txt file

  5. Create settings_local.py with settings from settings_local_sample.py

  6. Run python manage.py migrate

  7. Start the development server and visit http://127.0.0.1:8000/todo/

tododjangoccb's People

Contributors

dependabot[bot] avatar dimkoug avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tododjangoccb's Issues

manage.py can't open

Error message when i run python manage.py migrate

(null): can't open file 'manage.py': [Errno 2] No such file or directory

URLPattern

When compilling a URL pattern warning is up, here's the outuput after a python3 manage.py runserver :

[<URLPattern '' [name='todo-list']>, <URLPattern 'todo/todo/' [name='todo-todo-list']>, <URLPattern 'todo/todo/<int:pk>/detail/' [name='todo-todo-detail']>, <URLPattern 'todo/todo/add/' [name='todo-todo-create']>, <URLPattern 'todo/todo/<int:pk>/' [name='todo-todo-update']>, <URLPattern 'todo/todo/<int:pk>/delete/$' [name='todo-todo-delete']>]
System check identified some issues:

WARNINGS:
?: (2_0.W001) Your URL pattern 'todo/todo/<int:pk>/delete/$' [name='todo-todo-delete'] has a route that contains '(?P<', begins with a '^', or ends with a '$'. This was likely an oversight when migrating to django.urls.path().

System check identified 1 issue (0 silenced).
August 09, 2018 - 12:01:09
Django version 2.2.dev20180702223926, using settings 'tododjangoccbv.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

Any idea ???

Thank you

CRUD feature in web-app

Hi Dimitris... I am developing a web-app, I need to create a CRUD page but I haven't been able to resolve this feature. I am very new in django and I have already tried different thing without progress. Looking for a freelancer help to resolve this issue. Please contact me [email protected].

Django Message Framework

Hi,

We can't use django framework messages unless, it has to redirect to the success_url of the class responsible for the form...

I guess it is javascript who take care of the rest when the form_is_valid not django class ??
any idea. how to achieve it ?

thank you

Dynamic Select2 in popup modal

hi,
I am struggling to change classic select with more dynamic selelct2 in the popup form.
how would you advise to adapt?
Thanks,

Add column in ajax> _list_partial

Hi Dimitris,

I would like to add some other columns in my cmslistview, showing other object attibutes but I cannot find the solution. Could you help me to figure it out please?
image
image

Many thanks in advance,

Benjamin

Django validation form

After playing arround, and made a novalidate tag into html forms to stop browser validate the form and let django does it.I noticed that there's no django validation form. it stuck at clicking the create button, the post request goes but no response.

I there a way to activate it ?

thank's

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.