Re: Help debugging static files issue

2016-07-22 Thread 'Ajay M' via Django users
Dear developer, Please try to setup static files directory in your settings.py file. It should be a list, like below STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static', 'app'), os.path.join(BASE_DIR, 'static') ] Please let me know if you still face this

Re: Push notifications in Django

2015-07-07 Thread Ajay M
It is possible. You can send push notifications in django, using django-pushnotifications app. On Sunday, June 28, 2015 at 9:21:36 AM UTC+5:30, harsh.rathore14 wrote: > > I am Rails developer and new to Django. I want to build an Webapp which > will have push notification on comments, mentions

Keeping sessions

2015-05-20 Thread Ajay M
Hi, I've created my own user model for my project and it is like this from django.db import models from webapp.models.groupimport Group from webapp.models.userrole import UserRole class GroupAdmin(models.Model): user_name = models.CharField(max_length = 200,

Re: Can't perform Querying using Q objects

2015-03-11 Thread Ajay M
keywords or things like that. For > example, searching for "ski shop" will not match a Shop with name "ski > super shop". > > On Wed, Mar 11, 2015 at 11:30 AM, Ajay M <aja...@triassicsolutions.com > > wrote: > >> Hi I'm a newbie to Django. I

Can't perform Querying using Q objects

2015-03-11 Thread Ajay M
Hi I'm a newbie to Django. I'm trying to implement a search feature like this. query_results = Shops.objects.filter\ (Q(shop_name__icontains=search_text)\ |Q(state__state_name__icontains=search_text)\

Using class based views.

2015-02-23 Thread Ajay M
Hi all, I'm on a Django project, and I have written the following functions in my views.py. def my_view_function_1(request): #Some code return HttpResponse(--) def my_view_function_2(request): #Some code return HttpResponse(--) def my_view_function_3(request):

Django Query Set

2015-02-11 Thread Ajay M
I'm on a Django Project, I'm stuck with this situation. I've 3 Models, records,users and towns. Records are posted by users who belongs to towns. User may be a mobile user or a web user. Primary key of users is a foreign key in records, primary key of towns is a foreign key in users. I need to

Django Auth\Auth

2015-02-01 Thread Ajay M
Hi, I'm a new bee to Django, I need to use signup/login facilities in my project How do I customize and use django Auth/Auth feature? On sign up I have to store many details than just first_name, last_name, email and password. Can any one help me :) ? -- You received this message because you