Hi all,
Is it possible to specify HTML attributes (rows, cols) for textarea
(TextField) widgets that appear in django's admin interface? If so, some
pointers would be great.
Thanks,
Shankar
--~--~-~--~~~---~--~~
You received this message because yo
raise TypeError, "Cannot resolve keyword '%s' into field. Choices are: %s"
% (name, ", ".join(choices))
TypeError: Cannot resolve keyword 'authors' into field. Choices are: groups,
user_permissions, message, logentry, id, username, first_name, last_name,
em
Hi Russ,
Thanks very much for your input. The answers to your 'sanity checks' are
inline.
Thanks,
Shankar
On Wed, 11 Jul 2007 11:27:59 +0800, Russell Keith-Magee wrote:
> Some quick sanity checks:
> - What version of Django are you using?
I'm using trunk 5643
>
r: unsubscriptable object
>
> To save some time here: Russell made a typo. He really wants to know the
> output of User.objects.all()[0] (the first element of the list of
> objects). Note the extra parentheses there.
>
> Regards,
> Malcolm
-
Hi Malcolm,
Yes,
er
statements, everything works again.
Is anyone else seeing the same behavior? Should I be running the latest
SVN version of Django to take advantage of comment_utils?
Thanks,
Shankar
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Hi James,
Thanks. Keep up the great work! Meanwhile, I'll submit an issue report.
Shankar
On Thu, 19 Jul 2007 13:12:04 -0500, James Bennett wrote:
> On 7/19/07, Shankar <[EMAIL PROTECTED]> wrote:
>> Is anyone else seeing the same behavior? Should I be running the late
Hello All,
I had posted the same question in stackoverflow for which I didn't
received much response, so trying my luck here. Hope someone will have
a solution to my issue.
I am trying to extend the django registration module with additional
fields. I have created following files to extend the regi
Why don't you compare your code with the Github repo provided by the
author: https://github.com/wsvincent/djangoforbeginners.
You can share your code with us for more clarity.
On Fri, Mar 6, 2020 at 9:31 AM Shishir Jha wrote:
> Can you show the code that you have written until page 55?
>
>
> On
I think you forget to put a comma (,) at the last.
Try using the polls and check if it's working or not.
It's best practice to put your app at the last because you want all the
package to load in first when you open your website.
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.
Hi Phako Perez,
Use the below statement will solve your problem.
Sheet5.Range("B1").Value or Sheet5.Range("B" & i).Value, i as an variable.
On Sat, 25 Aug 2018 at 06:43, Phako Perez <13.phak...@gmail.com> wrote:
> Hi everyone,
>
> I’m trying to get data from an excel file.
> Every thing goes fi
i have two forms in one html file and i want to write both of them in
single view with and without submit buttons
--
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
t
I want to connect my Html input tags with fields created in models .py
using the name attribute of each input tag
def user_login(request):
if request.method=='POST':
if request.POST.get('submit') == 'checkform1':
user_form = SignupForm(data = request.POST) # i want this
please tell me how to do that
On Friday, 5 March 2021 at 22:21:54 UTC+5:30 uma shankar wrote:
> I want to connect my Html input tags with fields created in models .py
> using the name attribute of each input tag
>
> def user_login(request):
> if request.method=='
Hi,
I am trying to add items to a ManyToMany relationship, but I would like to
make the operation use a particular database connection, like one might do
when calling save() on a model instance. However, looking at the source for
ManyToMany.add(), the function defaults to checking the router's
Hi Deepak,
I work for Qwikcilver a Fintech company and also we have NGO Career Vizion,
we training students to become industry-ready.
Call me on 9900777110 or send me message on shankar...@yahoo.com.
Regards,
H C Ravishankar
On Sun, 22 Dec 2019 at 17:53, Deepak Singh
wrote:
> Hi there
highlights of the products
- 12.2 Megapixels
- CMOS
- with 2.7 inch LCD
So i want to add something like this. Please let me know how i can
configure a product as said above.
Thanks and Regards,
Swaroop Shankar V
--
You received this message because you are subscribed to the Google
to non
strict. The error from the traceback looks to be from the
file
"/usr/local/lib/python2.7/site-packages/django/contrib/auth/management/__init__.py"
which is django contrib application. What should i do to fix this issue. Am
using django version 1.3.1. Please help.
Thanks and Reg
Swaroop Shankar V
Sithembewena,
Its not because i have not installed mysql module for python. syncdb worked
fine for many of the apps in my project and created the tables for those
apps. This issue arise when creating the table for few apps.
Thanks and Regards,
Swaroop Shankar
On Sun, Mar 18
Sophia,
Please check if you have enabled the app 'django.contrib.sessions' in
your INSTALLED_APPS, if not do that and then do a syncdb, this issue should
be resolved.
Thanks and Regards,
Swaroop Shankar V
On Sun, Mar 18, 2012 at 2:41 AM, Sophia wrote:
> Hi all,
>
> I'
Did you run the syncdb after enabling it? While doing a syncdb did you
encounter any errors? From the error it looks like django_session table is
not created.
Thanks and Regards,
Swaroop Shankar V
On Sun, Mar 18, 2012 at 3:07 AM, Sophia wrote:
> Thank you for helping, I had enabled it. Bu
As Alasdair pointed out, i had few custom permission which had pretty big
name. I reduce it and it got fixed. Thank you both for helping me out.
Thanks and Regards,
Swaroop Shankar V
On Sun, Mar 18, 2012 at 6:27 AM, Sithembewena Lloyd Dube
wrote:
> ^^ What Alasdair said. If you still can
gt; No fixtures found.
>
> Process finished with exit code 0
>
> without any error, but it still doesn't work, would you please help me
> with it, I really stuck :(
>
>
> On Saturday, March 17, 2012 2:46:25 PM UTC-7, Swaroop Shankar wrote:
>>
>> Did you run the syn
was getting the
above said error and just for the sake of testing i changed the mode to non
strict. Am not planning the same for my production server. Once again
thanks a lot for your input. Cheers.
Thanks and Regards,
Swaroop Shankar V
On Mon, Mar 19, 2012 at 2:22 AM, CLIFFORD ILKAY
wrote
environment try
to do that from the terminal and check if that table is being created or if
there are not much important code in your project just zip it and send
over. Will try at my end and will update you.
Thanks and Regards,
Swaroop Shankar V
On Mon, Mar 19, 2012 at 11:03 PM, Sophia wrote:
>
s please tell me know the
method to implement the same. Thank You
Regards,
Swaroop Shankar V
--
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
Thank You, i changed show_pages.html instead of page_link.html. It worked
fine. Anyway thanks for pointing out where to change.
Regards,
Swaroop Shankar V
On Mon, Apr 2, 2012 at 5:10 PM, Blackpearl wrote:
> You can edit page_link.html for displaying like:
> <>
>
> &
essible in the custom template tag?
Thanks and Regards,
Swaroop Shankar V
--
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 em
Thanks Phang, I have not yet checked into the query caching in django. Will
check and will see if it would improve the performance. Thanks a lot for
your reply :)
Thanks and Regards,
Swaroop Shankar V
On Sat, Apr 7, 2012 at 4:04 PM, Phang Mulianto wrote:
> Well.. i think the lazy query is
taken
to a page where the books assigned under that category is displayed. How
can i accomplish the same.
Thanks and Regards,
Swaroop Shankar V
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
Hi,
Could anyone provide me a solution please? Thanks
Regards,
Swaroop Shankar V
On Mon, Apr 9, 2012 at 2:53 PM, Swaroop Shankar V wrote:
> Hi all,
> I have 2 models one is Category and another one is Book. Books will
> be assigned to a category. So on the admin area i want to displ
Hi All,
Am using flatpage app in my application. I want to send
few additional variables that can be accessible from the flatpage
templates. So how can i accomplish the same?
Thanks and Regards,
Swaroop Shankar V
--
You received this message because you are subscribed to the Google Groups
can i link a category to book listing page. I know that there is a
filter method that i can use in books listing page but i want to implement
above said approach. How can it be done? I hope i have made myself clear.
Thanks and Regards,
Swaroop Shankar V
On Wed, Apr 11, 2012 at 7:39 PM, Sandro
onstruct the url. Am pretty weak in regex and it will take me sometime to
build a proper regex for the above url. Thanks
Regards,
Swaroop Shankar V
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
th . (dot) is working fine now.
Swaroop Shankar V
On Sun, Apr 22, 2012 at 2:02 PM, yati sagade wrote:
> I'm not sure, but I think this should work - try it out and let us know.
>
> r'^user/([\w\-+.@]+)/$'
>
> I'm not too good with regexes, either. No one is. Al
I changed to your regex and it works fine. Thanks a lot :)
Thanks and Regards,
Swaroop Shankar V
On Sun, Apr 22, 2012 at 2:37 PM, yati sagade wrote:
> I think that one also matches upto one whitespace character(space, tab or
> newline) within the username(The \s).
>
>
> On Su
location for storage of generated file rather than the source
folder? I could find a setting called THUMBNAIL_STORAGE, is it the one to
be used? I am not able to figure it out from the documentation. If yes then
should i provide the absolute or relative path?
Thanks and Regards,
Swaroop Shankar V
Thanks Kelly, could you tell me what all settings you had provided for it
to cache into a separate directory?
Thanks and Regards,
Swaroop Shankar V
On Sun, Apr 29, 2012 at 8:09 PM, Kelly Nicholes wrote:
> It always just caches the files for me in a completely different directory.
>
d but not
sure. When i tried to override the default i could see no change. So anyone
having experience in setting the same please let me know.
Thanks and Regards,
Swaroop Shankar V
On Mon, Apr 30, 2012 at 7:27 PM, Tiago Almeida wrote:
> Have you tried changing the THUMBNAIL_STORAGE set
It looks like i was using an old version which came with satchmo. Am
currently testing my project with new version.
Thanks and Regards,
Swaroop Shankar V
On Tue, May 1, 2012 at 12:59 AM, Swaroop Shankar V wrote:
> It looks like the latest version of solr-thumnails or the version that i
>
Okay in the latest version every images generated is getting saved to
cache. My issue is resolved. Thanks all for your kind help :)
Thanks and Regards,
Swaroop Shankar V
On Tue, May 1, 2012 at 1:24 AM, Swaroop Shankar V wrote:
> It looks like i was using an old version which came with satc
Shankar V
--
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 more options,
Thanks Bruno, will check that.
Thanks and Regards,
Swaroop Shankar V
On Wed, Jun 6, 2012 at 2:59 PM, bruno desthuilliers <
bruno.desthuilli...@gmail.com> wrote:
> On Jun 6, 10:27 am, Swaroop Shankar V wrote:
> > Hello All,
> >
> > Well my question is on how
documentation and easy to integrate?
Thanks and Regards,
Swaroop Shankar V
--
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, sen
Hi Alec,
Cartridge is the one you mean I guess, but after going through the document
it seems i will require to install Mezzanine too. I was looking for an app
which i can use with my existing project and also with some good
documentation.
Thanks and Regards,
Swaroop Shankar V
On Mon, Aug 27
from my existing satchmo installation.
Swaroop Shankar V
On Mon, Aug 27, 2012 at 4:39 PM, Alec Taylor wrote:
> Well there's Django-Shop
>
> On Mon, Aug 27, 2012 at 8:38 PM, Swaroop Shankar V
> wrote:
> > Hi Alec,
> > Cartridge is the one you mean I guess, but after
Mario, is it possible to integrate LFS with an existing django project?
Also is there any method to import the data from my existing satchmo
installation to LFS?
Swaroop Shankar V
On Mon, Aug 27, 2012 at 10:31 PM, Mario Menezes wrote:
> LFS is another option. Lightning Fast Shop is
Hi All,
I was checking out different option and found django-oscar interesting and
it is frequently updated too. Have anyone tried it out? What is your take
on that project? Is it worth a try?
Thanks and Regards,
Swaroop Shankar V
On Thu, Aug 30, 2012 at 5:06 PM, Swaroop Shankar V wrote
go,
but after searching a lot i could not find any such signals available for
flatpage. So which is the best approach to implement whatever i had
described above. Thanks
Regards,
Swaroop Shankar V
--
You received this message because you are subscribed to the Google Groups
"Django users&q
i went for a normal
installation signals worked just fine.
Thanks and Regards,
Swaroop Shankar V
On Mon, Oct 3, 2011 at 2:37 PM, BILLION Sébastien <
sebastien.bill...@gmail.com> wrote:
> Hi,
>
> Can you send your signals.py? I think you have a problem with your signal
>
>
from the
flatpage table and then enter it into my menu table. So is there any way to
make it an automated process?
Thanks and Regards,
Swaroop Shankar V
On Mon, Oct 3, 2011 at 12:35 PM, Phang Mulianto wrote:
> why not query your flatpage db and use the field for the menu in ur ta
Thanks a lot Daniel, I guess this is exactly what I require. Will check it
and revert back.
Thanks and Regards,
Swaroop Shankar V
On Mon, Oct 3, 2011 at 4:21 PM, Daniel Roseman wrote:
> On Sunday, 2 October 2011 15:03:12 UTC+1, Swaroop Shankar wrote:
>>
>> Hi,
>> I am t
ure on how to set up the form values. My form's class code
can be accessed via the url http://pastebin.com/1TuRmNhH . Please help.
Thanks and Regards,
Swaroop Shankar V
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
ads/images' which i guess should be
in my MEDIA_URL. Then in my forms.py i have the following statment:
avatar = forms.ImageField(label=_('Avatar'))
I am not sure if i have done something wrong. Please guide me. Thanks
Regards,
Swaroop Shankar V
--
You received this message because
). Thanks
Regards,
Swaroop Shankar V
On Mon, Oct 24, 2011 at 7:07 AM, Swaroop Shankar V wrote:
> Hello All,
>
> I am having a trough time with the Image Field. I am trying to upload an
> image and even if i upload a valid image, the form validator throws an error
> "Upload a v
Thanks Kurtis, I figured out that was the issue. I downloaded a copy of PIL
from their official site. Installed the devel libraries for libjpeg and then
did a setup.py install and now its fixed :)
Regards,
Swaroop Shankar V
On Mon, Oct 24, 2011 at 11:32 AM, Kurtis Mullins
wrote:
> Dja
Thank a lot Andre, this is my first project in Django so kind of confused at
many parts. The links will help me to fix my issue.
Thanks and Regards,
Swaroop Shankar V
On Mon, Oct 24, 2011 at 6:03 PM, Andre Terra wrote:
> You should always populate your form in forms.py. This is done us
ocumentation, but it tells something about
binding the form which am not able to correctly understand. Why do we need
to bind a form with image field. Also whats the use of giving upload_to in
model image field? Thanks in advance for any help.
Regards,
Swaroop Shankar V
--
You received this messa
statements since the document do not give much details about it. I am still
not able to completely understand the signal's system in django. So I would
request for a step by step instruction, if its possible. Thanks
Regards,
Swaroop Shankar V
On Mon, Oct 3, 2011 at 9:22 PM, Swaroop Shankar V
nt_id will be the id of the menu of the same table. So on the
admin area i want a select box for the parent_id which will display the
already entered records. How can it be done?
Thanks and Regards,
Swaroop Shankar V
--
You received this message because you are subscribed to the Google Groups
&q
exiv2wrapper::Image {lvalue})
I am now clueless on what went wrong. Could someone please help me out?
Thanks
Swaroop Shankar V
--
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@googlegro
table. I looked
through the documentation but could not figure out how i can do it. If
someone have any experience in doing the same please let me know the
procedures.
Thanks and Regards,
Swaroop Shankar V
--
You received this message because you are subscribed to the Google Groups
"Dj
Thanks Anoop for those links, but it is not exactly what I require and also
the overhead of xmpp server is also there. Well all i require is to know is
how i can create an entry in the tables created by the commenting framework
through an API if available.
Thanks and Regards,
Swaroop Shankar V
eld is a foreign key to django auth User model. Each user is
assigned to a group (django Auth Group model). I want to retrieve all the
photos which belongs to users of a specific group. How can it be done?
Thanks and Regards,
Swaroop Shankar V
--
You received this message because you are subscribed
,
Swaroop Shankar V
On Sun, Jan 8, 2012 at 2:34 PM, Jonas Geiregat wrote:
>
>
> The user field is a foreign key to django auth User model. Each user is
> assigned to a group (django Auth Group model). I want to retrieve all the
> photos which belongs to users of a specific group. How
Thanks a lot Anler, that's exactly what I want. I never knew that it was so
simple.
Thanks and Regards,
Swaroop Shankar V
On Sun, Jan 8, 2012 at 4:36 PM, Anler wrote:
> Oh sorry, it should be this:
>
> photos = Photos.objects.filter(user__groups__id=the_group_id)
>
> --
Hi,
I have a model called Photos, I would like to remove the save button and
functionality from the admin area for photos model. Is it possible?
Thanks and Regards,
Swaroop Shankar V
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
p of the Photos
listing page. How can it be done? Hope my question is much more clear now.
Thanks
Regards,
Swaroop Shankar V
On Thu, Jan 12, 2012 at 2:53 PM, Swaroop Shankar V wrote:
> Hi,
>
> I have a model called Photos, I would like to remove the save button and
> functional
hanks
Regards,
Swaroop Shankar V
On Thu, Jan 12, 2012 at 10:34 PM, Denis Darii wrote:
> You can rewrite the *has_add_permission* method of your admin class and
> return False.
> More info here:
> https://docs.djangoproject.com/en/1.3/ref/contrib/admin/#django.contrib.admin.ModelAdmin.
>
popularity from the User model. This is the code am using to retrieve the
users list
userObject = User.objects.filter(is_active=1,is_staff=0,is_superuser=0)
how can i order the data based on the popularity field in extrainformation?
Thanks
Regards,
Swaroop Shankar V
--
You received this message bec
nted an app
which i can integrate into my existing django project. If anyone have used
these before, please recommend which one I should use. Or is there any
better e-commerce app?
Thanks and Regards
Swaroop Shankar V
--
You received this message because you are subscribed to the Google Grou
this works but am still confused. Please help.
Thanks and Regards,
Swaroop Shankar V
--
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, s
starting the integration of Plata in my project and I hope you would lend
some help if i get struck somewhere :) Thanks
Regards,
Swaroop Shankar V
On Mon, Jan 16, 2012 at 10:28 PM, Matthias Kestenholz wrote:
> On Mon, Jan 16, 2012 at 17:31, Lenz Hirsch
> wrote:
> > Servus,
>
got it working thanks anyway :)
Thanks and Regards,
Swaroop Shankar V
On Mon, Jan 23, 2012 at 12:00 PM, Leandro Ostera Villalva <
leost...@gmail.com> wrote:
> AFAIK it is [offset:page]
>
> El 22 de enero de 2012 20:40, Swaroop Shankar V escribió:
>
>> Hi,
>>
Any help please..thanks
On Nov 25, 2012 3:34 PM, "Swaroop Shankar V" wrote:
>
> Hello All,
> I am trying to create a classifieds for my sites using django
calssifieds. When ever I try to upload files from the user side, am getting
the error
>
> OSError at /classifieds/cr
ent. Its very easy to setup and configure django
on a linux than on a windows machine.
Thanks and Regards,
Swaroop Shankar V
On Nov 16, 2013 9:53 AM, "Anuradha Nair" wrote:
> Hi,
>
> I am new to django and i want to install it in my windows system.
> Can any one give
Interested. My WhatsApp number is 8309025511
On Wed, Feb 21, 2024 at 6:33 PM yavoucko lye wrote:
> interesting. My number is +221778399425
>
> On Sun, Feb 18, 2024 at 5:48 PM SURAJ TIWARI
> wrote:
>
>> 🚀 Join Our Django WhatsApp Bulk Messaging Project!
>>
>> 👋 Hello everyone,
>>
>> Are you look
STATIC_URL = '/static/' if not DEBUG: STATIC_ROOT = '/home/django/www-data/
example.com/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static/'),
]
Try this I Collected it from Django Documentation.
On Thu, Feb 29, 2024 at 11:54 AM Ram wrote:
> Hi,
>
> We are able to deploy our pre-produc
77 matches
Mail list logo