On Thursday, November 13, 2014 7:49:28 PM UTC+5:30, Sachin Tiwari wrote:
>
> Hi All,
>
> I want to change Home link at admin page to Admin Home -> blog -> ...
>
> I tried by modifying base.html and base_site.html in my
> templates/admin/, but it would wor
On Saturday, November 15, 2014 4:47:12 PM UTC+5:30, Sachin Tiwari wrote:
>
> Hi All,
>
> I am using below daterange filter package but it did not work if
> from_date and to_date field are same,
>
>
> https://github.com/DXist/django-daterange-filter/blob/master/da
On Saturday, November 15, 2014 4:47:12 PM UTC+5:30, Sachin Tiwari wrote:
>
> Hi All,
>
> I am using below daterange filter package but it did not work if
> from_date and to_date field are same,
>
>
> https://github.com/DXist/django-daterange-filter/blob/master/da
On Thursday, November 13, 2014 7:49:28 PM UTC+5:30, Sachin Tiwari wrote:
>
> Hi All,
>
> I want to change Home link at admin page to Admin Home -> blog -> ...
>
> I tried by modifying base.html and base_site.html in my
> templates/admin/, but it would wor
Hi All,
I am using below daterange filter package but it did not work if
from_date and to_date field are same,
https://github.com/DXist/django-daterange-filter/blob/master/daterange_filter/filter.py
Please suggest the solution
I was trying by converting to_date + timedelta(days=1) but it gi
On Thursday, November 13, 2014 7:49:28 PM UTC+5:30, Sachin Tiwari wrote:
>
> Hi All,
>
> I want to change Home link at admin page to Admin Home -> blog -> ...
>
> I tried by modifying base.html and base_site.html in my
> templates/admin/, but it would not wor
On Thursday, November 13, 2014 7:49:28 PM UTC+5:30, Sachin Tiwari wrote:
>
> Hi All,
>
> I want to change Home link at admin page to Admin Home -> blog -> ...
>
> I tried by modifying base.html and base_site.html in my
> templates/admin/, but it would wor
Hi All,
I want to change Home link at admin page to Admin Home -> blog -> ...
I tried by modifying base.html and base_site.html in my templates/admin/,
but it would work
{% block breadcrumbs %}
{% trans ' Admin Home' %}
{% if title %} › {{ title }}{% endif %}
{% endbl
Hi Collin,
It works when I comment the filters.py
and change admin.py as below,
from receivedata.filters import DropdownFilter
class PersonAdmin (admin.ModelAdmin):
list_filter = (PersonIdFilter)
Thanks & Regards,
Sachin Tiwari
--
You received this message because you are subscr
Hi,
I want to make my custom filter into drop down filter,
class PersonIdFilter(SimpleListFilter):
title = _('Personid')
parameter_name ='personid'
contlist = list(PersonInfo.objects.all())
def lookups(self, request, model_admin):
lst = []
for id in self.contlist
Hi All
Thanks for your kind support,
I tried with single quotes but it also did not works,
My static url is
STATIC_URL = '/static/'
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails fro
Hi ,
I have below lines in view.py and acesssing this variable in html but not
getting output,
def index (request):
pers = list(PersonInfo.objects.filter())
return render_to_response('index.html')
html code
{% for id in p
I used {% load staticfiles%} but it did not works.
--
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 gr
Hi,
I created templates and static directory in parallel with my project
directory like below but only html part is visible to me css and js part
are not visible,
//templates/home.html
//static/static/css/
//static/static/js/
html use,
{% load static %}
And added
>
> Hi Collin,
>
Thanks, I did some mistake, its working.
--
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 t
Hi Collin,
It gives same type of error.
--
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
On Tuesday, October 7, 2014 2:16:53 PM UTC+5:30, Sachin Tiwari wrote:
>
> Hi,
>
> I added an extra field phone number in existiing user model and now I
> tyring to access that field by below method,
>
> UserAdmin.list_display = ('email',
On Tuesday, October 7, 2014 2:16:53 PM UTC+5:30, Sachin Tiwari wrote:
>
> Hi,
>
> I added an extra field phone number in existiing user model and now I
> tyring to access that field by below method,
>
> UserAdmin.list_display = ('email',
Hi,
I added an extra field phone number in existiing user model and now I
tyring to access that field by below method,
UserAdmin.list_display = ('email', 'first_name', 'last_name','is_staff',
SMSRegistration.phone_no)
type object 'SMSRegistration' has no attribute 'phone_no'
Please help.
a new User adminclass UserAdmin(UserAdmin):
inlines = (EmployeeInline, )
# Re-register UserAdminadmin.site.unregister(User)admin.site.register(User,
UserAdmin)
Now I want to show it with main users list page.
On Tuesday, September 30, 2014 3:20:34 PM UTC+5:30, Sachin Tiwari wrote:
>
> H
Hi Tundebabzy,
Am I asking something wrong? please help me if possible.
On Tuesday, September 30, 2014 3:20:34 PM UTC+5:30, Sachin Tiwari wrote:
>
> Hi
>
> I want to display a phone number field at users list page,
>
> Username emailAddress FirstName LastName staffs
Hi
I want to display a phone number field at users list page,
Username emailAddress FirstName LastName staffstatus PhoneNumber
sachin a...@g.com sachintiwari True
000
--
You received this message because you are subscribed to
Hi
I am learning django and I want to add a phone number field which would be
mandatory when we use add user button in users section.
I tried it with blank=False or null=False but it would not work for me.
I am also using django-phone-number field package.
Thanks
--
You received this mes
23 matches
Mail list logo