Django Customized Admin/User management interface

2016-08-13 Thread Ali khan
Hi, I have 4 different type of user groups in my ecommerce application. Suppliers, Shops, Referrers and Staff. I nee to create a dashboards for all of them so when they login they can see content related to them. Can someone refer any reusable app or the best approach to do it? Regards, Ali -- Y

TemplateSyntaxError when using inbuilt views

2016-08-13 Thread Piyush Rungta
Hello this is my first time here. So I am trying to create directory index to serve static files uploaded by users by using inbuilt view by adding this to my urlpatterns - from django.views.static import serve url(r'^uploads/(?P.*)', serve, { 'document_root': settings.UPLOAD_DIR,

Re: TemplateSyntaxError when using inbuilt views

2016-08-13 Thread Constantine Covtushenko
Hi Piyush, Welcome to community! Can you please give us your template snipped? Regards, On Sat, Aug 13, 2016 at 6:48 AM, Piyush Rungta wrote: > Hello this is my first time here. > So I am trying to create directory index to serve static files uploaded by > users by using inbuilt view by addi

TemplateDoesNotExist at/

2016-08-13 Thread Andrew Emory
I am having a problem figuring this out and I think there is something wrong with my TEMPLATES dictionary in settings.py. I have my templates in static/templates/app_name and static is in the same directory as my project source. So I have nested os.path.join and os.path.dirname as follows:

Re: How t o create more than one application

2016-08-13 Thread Andrew Emory
Just enter the command: python manage.py startapp app_name from your terminal window in the projects source directory. On Friday, August 12, 2016 at 7:37:10 PM UTC-5, Timothy Steele wrote: > > > > down votefavori >

Re: TemplateDoesNotExist at/

2016-08-13 Thread Andrew Emory
Actually, its Django 1.9. -- 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-users+unsubscr...@googlegroups.com. To post to this group, send email to django-

Re: TemplateDoesNotExist at/

2016-08-13 Thread Andrew Emory
I figured it out. Of course, now the form isn't rendering... But at least Django isn't throwing that error anymore. for all those who are curious, I was one directory shallow on the template file's location. I was telling Django to look in static/templates when I needed to tell it to look in

how to integrate django framework in android app ????

2016-08-13 Thread Techart Team
i am new to django and i want to integrate my django framework to my android studio. how to do it ? please tell me fast. -- 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

Django 1.10 How to Take form Inputs (ie field one + field two = field three) and auto update before submitting the form.

2016-08-13 Thread Paul Kudla
I am running django 1.10 and assume i will need to use java scripts, jquery or angularjs Simply put i have a decimal field that i want to add to another decimal field and place the answer in a third decimal field. I want this to be displayed on the fly as the form gets data inputed on the clie