Re: django

2016-11-02 Thread Alagappan
As a first step, you should start with the Django documentation and implement your first app following the instructions. https://docs.djangoproject.com/en/1.10/intro/tutorial01/ On Nov 2, 2016 9:09 AM, wrote: > Hello friends, > Myself bhasker ,i am new to django ,i want learn d

django-payments how to create a instance and redirect

2016-11-02 Thread Thorsten Grahl
Hi, sorry real noob, I have started with Django and slowly understand the MVC, url.py, views.py, forms.py and models.py. Now I would like to add a button to one template page to redirect to a payment gateway. Would like to use django-payments And have followed installation: http://django-payme

Re: One template for multiple views

2016-11-02 Thread Lekan Wahab
Hi, I'm not sure I completely understand what you need but if I do, I think passing different contexts to the same template would help you achieve that. You could easily have something like : def initial_view(request) : variableone = 'a' variabletwo = 'b' return response(you

One template for multiple views

2016-11-02 Thread Moreplavec
Greetings, i'm creating template for simple table report. Data shown are for current month. Than i realised i need same report for previous month. I can copy created template and modify texts, but i don't like. Is it possible to use same template for more views and only controll differences ba

Re: django

2016-11-02 Thread ludovic coues
Hello, You can try the official django documentation: https://docs.djangoproject.com/en/1.10/intro/ There is other tutorial which cover more feature and might be easier to follow. I learned form with this one for exemple: https://tutorial.djangogirls.org/ 2016-11-02 16:28 GMT+01:00 : > Hello fri

django

2016-11-02 Thread bhaskergaddam128
Hello friends, Myself bhasker ,i am new to django ,i want learn django and create one web application,could you please help me anyone . I mean how to start learn django in python and how start development of web application on django Frame work. I am eagerly waiting to lea

How to fetch data from LDAP to html textbox

2016-11-02 Thread Owen Cai
I am pretty new to Python and Django. Recently my team ask me to develop a web app based on Django 1.9 for the company. The authentication part involved using LDAP but not a common way I can search in google. On the top of the interface will have 2 button "use for self" and "use for others" Unde

How to fetch data from LDAP to HTML textbox

2016-11-02 Thread Owen Cai
I am new to Python and Django. Recently, my team ask me to develop a Django web app for the company. It requires use LDAP authentication in Django but not a common way that I can search on google. On index.html page. I will create two button "use for self" and "use for others", there will be co

Django web app reaching rest api and CORS problem

2016-11-02 Thread Oguz Yarimtepe
I have a django app and at the template part i have javascript function calling the rest api: http://komandor.app.gittigidiyor.net:8000/static/js/select-autofiller.js>"> At the js file i am filling a select box according to the returned json response $('#field1').change(function(){ var

Re: Updating mixin subclassed instances

2016-11-02 Thread Radek Svarz
@Vijay, thanks. I also had a similar idea, but I was surprised it was not somewhere already implemented. Then I found __subclasses__() as mentioned here http://stackoverflow.com/questions/40353219/updating-django-mixin-subclassed-instances/40353284#40353284 It works (Python 3.3, Django 1.8) ;

SQLAchemy

2016-11-02 Thread pradam programming
hi, I am new to SqlAchemy.My questions are as follows: 1.When i write tables in sql achemy format i can't able to do makemigrations and migrate..? 2.In SqlAchemy Explicitly i need to specify database whenever i do CRUD operations ? 3.Whats the main advantage over SQLAchemy vs Django OMR.? -- You