Hi All
Need help in solving this question !
http://stackoverflow.com/questions/20513675/how-to-save-data-from-list-display-page-in-django-admin
Thanks in Advance.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group
ule_name[5:]
url_path = r"^manage/%s/?$" % (model.lower())
view_name = "admin_manage_%s" % (model.lower())
urlpatterns += patterns('project_name.%s.views' % app_name,
url(url_path, view_name,
name=view_name),
t; 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-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
rField(max_length=10, widget=RadioSelect
>
> (choices=PROFILE_TYPE),
>initial='Public',
>required=False
> )
>
Thanks
On Mon, Jan 28, 2013 at 11:05 AM, Nikhi
(choices=PROFILE_TYPE),
initial='Public',
required=False
)
I want that when i open this form the radio button with choice public
should be pre selected.
Can anybody explain what mistake you are
is ?
Thanks
On Mon, Jan 28, 2013 at 9:24 AM, Vijaya Reddy P R wrote:
> Is it possible to get job in companies like Google,Amazon,Cisco,.
>
>
> On Sun, Jan 27, 2013 at 7:50 PM, Nikhil Verma wrote:
>
>> Well i would say its all about money and passion for programming.
it https://groups.google.com/groups/opt_out.
>
>
>
--
Regards
Nikhil Verma
+91-958-273-3156
--
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+u
}
Thanks
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
d
Hi All
Can somebody explain me the workaround for this ticket 9025. I want to
nested inlines in my django admin
explained below.
Thanks in advance
On Fri, Dec 28, 2012 at 10:54 PM, Nikhil Verma wrote:
> Hi Guys
>
> Here are my models :-
>
> class Blog(models.Model):
> &q
, 'title','meta_description',
'description',
'category', 'image','video', 'save_as_draft',
'featured', 'tags']})]
#readonly_fields = ['seo_tag
going to the
admin.
Thanks
On Thu, Dec 6, 2012 at 5:20 PM, Tom Evans wrote:
> On Thu, Dec 6, 2012 at 8:10 AM, Nikhil Verma
> wrote:
> > Hi All
> >
> > I am developing a simple app in which i have to play with user
> permissions.I
> > register a user(during a s
is group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
&
it from code example everytime the user gets
selected i want some permissions(which is already persent in Available
permission box) get saved to choosen permission box from code.How can i do
this ?
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed
']
new_user.email = data['email']
new_user.is_locked = True
new_user.save()
new_user.user_permissions('Can add department')
profile = new_user.profile
key = uuid.uuid4().__str__()
profile.key = key
profile.save()
if new_user and profile:
return new_user
els
sit
> https://groups.google.com/d/msg/django-users/-/g19mRQ4vHd4J.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://gr
Thanks to all . But Tome and Russel answers were absolutely correct.Worked
like a charm.
{% templatetag openvariable %} hello {% templatetag closevariable
On Fri, Oct 19, 2012 at 4:16 PM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
> On Fri, Oct 19, 2012 at 6:21 PM, Nik
can i achieve this ?
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
dj
500 page.
I am amazed then why 404 is working.
On Wed, Jul 4, 2012 at 11:28 PM, Melvyn Sopacua wrote:
> On 4-7-2012 19:08, Nikhil Verma wrote:
> > Hi Melvyn
> >
> >
> >
> > [ ] Make sure your custom page is not sent with tools like netcat,
> > telnet or cu
.
On Wed, Jul 4, 2012 at 9:28 PM, Melvyn Sopacua wrote:
> On 4-7-2012 5:21, Nikhil Verma wrote:
> > HI All
> >
> > I have made a custom and a very simple 500.html page. However when i make
> > debug=False and some error come in website
> > still it show basic s
custom 500 page.
I tried by making a custom function and then setting the handler500="path"
but still with no luck.
Anyone can help in this as to how can i resolve this problem?
Thanks
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed
could not be
> found?
>
> Maybe you don't have the correct roots included?
>
> I'm not sure Django (that's what you're using, using right?) would use
> pillow, especially when PIL is available too.
> Le 1 juil. 2012 19:34, "Nikhil Verma" a écrit
nikhil/Citysom/bin/pildriver.py to 775
changing mode of /home/nikhil/Citysom/bin/pilconvert.py to 775
Successfully installed pillow
Cleaning up...
(Citysom)nikhil@nikhil-desktop:~/Citysom/citysom$ python manage.py
runserver 8080
On Sun, Jul 1, 2012 at 10:37 PM, Nikhil Verma wrote:
> Hi Thom
irectory and the egg and remove them
> from your system. Then, I reinstall using apt, easy install or pip. Don't
> forget to sudo.
> Le 1 juil. 2012 18:38, "Nikhil Verma" a écrit :
>
> HI Thomos
>>
>> I tried this
>>
>> nikhil@nikhil-deskt
bjpeg62-dev_6b1-1ubuntu2_amd64.deb) ...
Setting up libjpeg62-dev (6b1-1ubuntu2) ...
nikhil@nikhil-desktop:~$
Still the same error.
On Sun, Jul 1, 2012 at 10:02 PM, Thomas Orozco wrote:
> Installing the packages through apt-get gave you the error?
>
> Could you please post the full output of
/home/nikhil/Citysom/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/package_index.py",
line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'
Thanks for help
On Sun, Jul 1, 2012 at 9:53 PM, Thomas Orozco wrote:
> Do you h
?
Thanks in advance
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
dj
que los datos personales que facilite/ha facilitado pasarán a
> formar parte de un fichero responsabilidad de bebabum, S.L. y que tiene
> por finalidad gestionar las relaciones con usted.
> Tiene derecho al acceso, rectificación cancelación y oposición en nuestra
> oficina ubicada en c/ Còrse
hing in the
> Event model's save method)
>
> You would need to debug it further, and pinpoint the location of this
> error.
>
>
> On Saturday, June 30, 2012 8:37:34 PM UTC+5:30, Nikhil Verma wrote:
>
>> Yes its with the braces ")" also.
>>
>>
Yes its with the braces ")" also.
On Sat, Jun 30, 2012 at 8:36 PM, Nikhil Verma wrote:
> Hi Sunny
>
> I am trying with this
>
> *event_genre = event_form.cleaned_data['event_genre']
> event_public = event_form.cleaned_data['
o see the problem.
>
> Thanks,
> Sandeep
>
>
> On Saturday, June 30, 2012 8:14:28 PM UTC+5:30, Nikhil Verma wrote:
>
>> Hi Sunny
>>
>> I realized that earlier sunny, and cleared that defect but i get stuck
>> into this error
>>
>> Traceback:
>
e reason behind this is that M2M Fields are represented
> by intermediate tables with references to the two linked objects. If you
> need to add a row in it, both referenced objects should already be saved in
> the db with valid primary keys.
>
> H2H
> -Sandeep
>
>
>>
>
> While creating the forms, take input from the user for the WorkingHours
> model. This way, the days of work will not be hardcoded, and user can
> select mutiple choices.
>
> Regards,
> Sandeep
>
>
>
> On Friday, June 29, 2012 10:16:47 AM UTC+5:30, Nikh
alid().
>
> Apologies if I've misunderstood :)
>
> --
> Jon Black
> www.jonblack.org
>
>
> On Fri, Jun 29, 2012, at 10:16, Nikhil Verma wrote:
>
>
> Hi
>
> I am developing an event app which has users who publish events , other
> users al
d the user can fill the
time and when he hits submit it will get saved.
Thanks in advance.
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@g
bscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.googl
esponse("view.html", {"page_name":page_name,
> "content":content},context_instance=RequestContext(request))
>
> Exception Type: NameError at /wikicamp/start/
> Exception Value: global name 'content' is not defined
>
>
> PLs help..:(
>
&
PUBLIC KEY BLOCK-
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubs
to achieve this ?
If there is other ways to achieve this that involves changing the table
structure i won't mind.
Thanks
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
layer and use youtube api's if needed to render and load.
>
>
> Pratik Mandrekar
>
> On Apr 28, 7:56 am, Nikhil Verma wrote:
> > Hi All
> >
> > I have a TextField to which after applying css it looks like a markup
> > editor where i write some text, paste fi
(post.get_absolute_url())
return {'form': form,
'post': post,
}
Template
{% if post.user.forum_profile.signature %}
{{ post.user.forum_profile.signature|safe }} # This is the textfield.
{% endif %}
--
Regards
Nikhil Verma
+91-958-273-31
right direction to see
what those columns contain.
Is there any django way to solve this problem. Like we have class Media to
alter the individual widget in admin ? If not what the best way ?
Thanks in advance !
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you
losure or any action in reliance on the contents is
> strictly prohibited.
>
>
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegr
ered_total_visit_ids = sorted(total_visit_ids, key=lambda x: x.patient,
reverse=False)
Thanks for help in advance.
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send emai
0 AM, dummyman dummyman wrote:
> ok. in admin,.py file
>
>
> override the response_change method
>
> def response_change(self,request,obj)
>
> obj is the handler
>
> so u can check using obj.field_name and take approp action
>
>
> On Sat, Mar 31, 2012 at
2012 at 10:28 AM, dummyman dummyman wrote:
> Hi
>
> unless u dont specify blank=True or null = True in modes for d
> corresponding fields, django will throw an errror if u don fill up the field
>
> On Sat, Mar 31, 2012 at 9:25 AM, Nikhil Verma wrote:
>
>> Hi All
>>
ail to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Regards
Nikhil Verma
+91-958-273-3156
--
You r
vice.price == price_for_pax service pax ' ' %}
do something
{% endif %}
When i look for the result it does not show anything
Can i compare like this ? If not what can be the solution ?
Thanks in advance
--
Regards
Nikhil Verma
+91-958-273-31
me random number.
How can i achieve this ?
Thanks in advance.
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubs
www_researchprotocol"."id" = "visit_vis...
^
Any help will be appreciated.
Thanks in advance.
On Thu, Mar 22, 2012 at 6:26 PM, Joel Goldstick wrote:
> On Thu, Mar 22, 2012 at 6:55 AM, Nikhil Verma
> wrote
googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
rch_protocol_visit_id_research_protocols_i_key" for table
"visit_visit_research_protocols"
psql:db/2012-03-22_research_id.sql:8: ERROR: there is no unique constraint
matching given keys for referenced table "www_researchprotocol"
What mistake i am doing ?
Thanks in ad
the 101 comes again in
that function it will generate the same random number.
I read about random.seed but how can i relate that in my case.
Thanks for help.
On Wed, Mar 21, 2012 at 1:01 PM, Jani Tiainen wrote:
> 21.3.2012 9:19, Nikhil Verma kirjoitti:
>
> Hi All
>>
>>
y request
>>>987657
>>>random_number(100)
>>>987647
>>>random_number(6) # if the same input comes again it would generate a
same random number
>>>987657
If the same input cannot be generated any other way to do this part
Any help would be appreciated.
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django use
you need an
> ampersand (&) in your HTML. That should fix this. There are other ways,
> like percentage encoding (
> http://www.blooberry.com/indexdot/html/topics/urlencoding.htm) you can
> use when you need to generate URLs that contain a literal ampersand.
>
> On Mon, Mar 12, 201
now then how to solve the problem.
I try having a look to url -encode but no luck .
I want whatever the drop value contains (&,@ etc) it should not break ?
How to solve the problem ?
Thanks in advance
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are su
is giving ValueError: I/O operation on closed file
Also i view.py i have
def login(*args):
return True, 'nikhilverma', 'nikhil', True
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django
Hi akaariai
I solved my problem by using snippet 1633 FileField/ImageField. Thanks for
making my concept in signals.
On Sun, Mar 4, 2012 at 7:23 PM, akaariai wrote:
> On Sunday, March 4, 2012 3:12:20 PM UTC+2, Nikhil Verma wrote:
>>
>> Hi akaariai
>>
>> As you said
t ? Thanks for help in advance .
On Sun, Mar 4, 2012 at 6:22 PM, akaariai wrote:
>
> On Sunday, March 4, 2012 12:31:50 PM UTC+2, Nikhil Verma wrote:
>>
>> Hi all
>>
>> I am using Django-1.2.5 and i want to use post_save signal in the
>> follow
nce.pk)
old_record.delete()
except sender.DoesNotExist:
pass
signals.post_save.connect(delete_old_image, sender=Trip)
How can i achieve this task by using signals or without signals.
Any help will be appreciated.
--
Regards
Nikhil Verma
+91-958-273-3156
--
You receive
gt; Thanks very much
> Best regards
>
>
> --
> ⚡ Chen Xu ⚡
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from t
field in whatever
manner whether he gave whitespaces,breaks,press return
it should appear exactly the same in html. How can i achieve this ?
Regards
Nikhil Verma
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django
execute(query, args)
Exception Type: DatabaseError at /visit/setup/
Exception Value: invalid input syntax for type date:
"$AES$55403376ed906e119b0f7779554fbb51"
LINE 1: ...L, NULL, '$AES$0452edae035cc33c4084e7b0fb39edd7', '$AES$5540...
d to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.g
ions, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@goo
; --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For
oup.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Regard
The problem is my admin files is are not coming up.Every media files in
project is coming except the admin media.all its css ,js,img are not coming.
Thanks in advance
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"D
d to 'full_name'
db.rename_column('app_foo', 'name', 'full_name')
Its giving me an error
Caught TypeError while rendering: coercing to Unicode: need string or
buffer, tuple found
I will appreciate if anyone can tell me a easy way.Thanks in advance
--
r i do sys.path
it should show me Project Directory path in PYTHONPATH
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubsc
/group/django-users?hl=en.
> >
>
>
>
> --
> CHEERS, TANYA
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsub
sers@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message be
need to program files then python2.x then agin in
site-packages delete the django folder and you are good to install the
required version you want.(What i remember ?)
Please specify your environment conditions also.
Hope this may help you !!!
--
Regards
Nikhil Verma
+91-958-273-3156
On Tue
oglegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
g today? If not, I wasted it.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-user
message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this
om this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Regards
Nikhil Verma
+91-958-273-3156
--
You received this message because you are subscribed to the Google Groups
&quo
Hi ,
I am a newbie in django and come across this problem
Description :-
I have a ModelForm which contain a field
class VisitSetupForm(Form):
list_visit_ids = ModelChoiceField(queryset=Visit.objects.none(),
empty_label='Select Revisit ID',required=False)
Now in the server i want not to load all t
78 matches
Mail list logo