Hi Randa,
I have used tweepy. Its easy to use.
doc link: http://packages.python.org/tweepy/html/
On Mar 21, 7:00 pm, Randa Hisham wrote:
> hey
> iam going to make an app that read the timeline of a user from twitter what
> django package do you recommend?
>
> --
> Randa Hesham
> Software Develop
In the example given in doc of tweepy, the process_status is a user
defined method. You have to define this method.
Its just a reference given. Define a method process_status and do
whatever you want to do with status.
On Mar 26, 3:57 am, coded kid wrote:
> Hi guys, I been trying to iterate ove
While running syncdb command django uses default database to create
tables.
You can do one thing, first create default database using syncdb then
copy auth related tables to another database.
Then define router for auth. You can get more ref form django
documentatiion.
Regards,
Amit
On Mar 29, 4
Hi,
You can display entry_date on admin by using readonly attribute of
admin.
Set readonly = (entry_date,) this will do your task, but You cannot
modify this on admin.
Thanks
Amit
On Dec 9, 7:46 pm, DC wrote:
> Hi,
>
> I have the following lines in my model:
>
Hi,
Javascript does not understand django template syntax. In your case you can
return a template rendered with django, and replace the html.
Thannks,
On Sunday, February 10, 2013 3:12:47 PM UTC+5:30, doniyor wrote:
>
> hey guys, i am stuck in this problem. i posted the problem on
> stackoverf
production server, since I don’t have
avail corresponding database in PostGreSQL.
Amit.
--
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 g
/questions/4921331/django-url-detail
Please get me rid of this.
Thanks in advance!
Amit.
--
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 g
), it will not be
loaded and will not be seen in the admin interface, without any significant
notice. To me this seems like an undesired side-effect, perhaps even a bug.
Any ideas?
--- Amit
--~--~-~--~~~---~--~~
You received this message because you are subscrib
ing sessionid.
Has anyone else faced this or similar issue? If not can someone tell
me how do I go about debugging this?
Am using pre1.0 trunk r3331.
- --
Amit Upadhyay
Vakow! www.vakow.com
+91-9820-295-512
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
not on windows, so I don't know the exact location.)
Hope this helps,
Amit
--~--~-~--~~~---~--~~
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@googl
Hi,
I just wrote a helper app to import contacts from Google.
http://github.com/amitu/dgci/tree/master
Anybody willing to help me write a similar dyci for Yahoo!? :-)
--
Amit Upadhyay
Vakow! www.vakow.com
+91-9820-295-512
--~--~-~--~~~---~--~~
You received
since I'm using the one provided by Django. Somy question is: how do I
accomplish that?
I thought of using a Group (the Django model) and then having a one to
one relationship in my container; but I think there's a much simpler
and el
Hey,
Checkout www.RemindMeSam.com .
--
Amit Upadhyay
Via - www.remindmesam.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
I hope i am not breaking any code here and i don't get mails saying its not
the place to discuss this .
I am trying to create a small xml-rpc like service which uses some other
multiple REST/JSON based web services . I am using django because I like
simple organized architecture it gives for deve
I am not sure what you are trying to do. And the code seems almost unreadable .
You could try posting the code to : http://pastebin.com/
Also what might be helpful:
What is the problem statement what is this code trying to solve ?
What value you want and where ?
And what error does django giv
Take up a small project like the tutorial...
On Wed, Jul 22, 2009 at 1:00 PM, Vasil
Vangelovski wrote:
>
> A good place to start is the tutorial:
>
> http://docs.djangoproject.com/en/dev/intro/tutorial01/
>
> If you are new to python you can also check dive into python:
>
> http://diveintopython.
On Fri, Jul 24, 2009 at 6:04 PM, ashish wrote:
Well as your error message says , Template does not exist my first
guess would be that you did not Activate the admin site .. if that is
not so , you should have a look at the section , Customize the look
and feel of admin ... it is talking about the
ws.static.serve',
{'document_root': '/home/amit/analytics/media', 'show_indexes': True
}),
now i get the error
serve() takes at least 2 non-keyword arguments (1 given)
i am new to web development please help
--
A-M-I-T S|S
--~--~-~--~~-
hi thanks ,
well got the point about url-conf the url pattern you have given does not
raise the error but i have still not been able to get my css working
my urls.py has an entry
(r'^sitemedia/?P.*$', 'django.views.static.serve',
{'document_root': &
Hi all ,
I am trying to develop a web app that searches products on some
local stores and give the price.Now I can obviously have a format for stores
to feed my database but rather than that .What I want is that the local
stores be able to dump their database/feeds on my Server . It woul
Hi , I just developed my first small app using django , I wish to
deploy it . I have a apache server with drupal running on it . Can
anybody guide me about the procedure i should use to deploy the
project without disturbing the drupal installation in any way...
--
A-M-I-T S|S
--
You received th
yes I do have ssh access and the server does have python on it.
On Tue, Nov 17, 2009 at 7:02 AM, Kenneth Gonsalves wrote:
> On Monday 16 Nov 2009 7:41:47 pm Amit Sethi wrote:
>> Hi , I just developed my first small app using django , I wish to
>> deploy it . I have a apache ser
Hi , I was able to run it for the time being using mod_proxy but is
this is good way . What are the possible problems because of 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-us...@googlegroups.c
Hi , I have been trying to make a project work with mod_wsgi under
apache . The project is not exactly in django . It has a development
server of its own for adapting I was using this as a reference .The
mod_wsgi manual says that you have to send the response in following
manner
def application(en
Hi ,
I want to use a library in a django project but I don't want to put it in
python path. Where am I supposed to put the sys.append so that it will
available to the whole django project.
--
A-M-I-T S|S
--
You received this message because you are subscribed to the Google Groups
"Django users"
Hi , can somebody tell me how i should configure mod_wsgi on a suburl I want
to set a django project on
domain.com/test/
so my urls.py at present looks like :
urlpatterns = patterns('',
(r'^(.*)', 'sttp.views.serve'),)
and the wgi scrip alias is WSGIScr
Hi all , I need some help understanding the mod rewrite module of apache .
What I wished to do want that i had a comments folder by the name of
/comments/ . Now i run a django project on /sees and i want all the call to
/comments/ be redirected to /sees/comments and than be handled by the wsgi
file
f collisions on clusters, is there a better way to
accomplish this? Ideas?
Thanks a lot,
Amit.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this gro
Hi ,I have a project that is in general written to work with wsgi server
except i wish to alter some of the environ variables provided to the app. So
I have a function:
def __call__(self, environ, start_response): In this I want to change some
part of environ
So my application looks someth
Hi I wish to know if it is possible to use recursive rendering ? . What I
mean by that is that their is a template which renders no of comments on a
paragraph . SInce their are many paragraphs what i wish to send is a list
of render_to_response calls for each paragraph. i.e send response messages
Hi , I have a project with a few static html pages , I wish to search these
static html using a django search app . Most of the tutorials I saw are
focused on searching django models but none I could see concentrates on
indexing static html pages . Can some one guide be to a library /tutorial
etc
How do you do field specific messages ... like for a Telephone Number , if
all characters are not digit send
message (no invalid ) . I have tried raising forms.ValidationError like
specified here (http://www.djangosnippets.org/snippets/337/)
I have also tried changing forms.Form._errors ... it i
/.
Check this for a little more details:
http://amitu.com/blog/2007/june/django-image-bundle
--
Amit Upadhyay
Vakow! www.vakow.com
+91-9820-295-512
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
ndle to determine
> offsets in the final.
Server side resizing was compulsory as otherwise the background technique
would not work. AFAIK. Browser will just show the part of image, and does
not shrink the background to fit.
I see you're using mx.Misc.OrderedMapping. Does that do anythi
] = 'kennel.settings'
WSGIServer(WSGIHandler()).run()
# end of code
All the best,
Amit
ביום חמישי 14 יוני 2007, 07:28, נכתב על ידי [EMAIL PROTECTED]:
>
> I've been trying to get django up and running on a shared account, and
> i'm having troubles - I have done e
ated. Unfortunately, I couldn't get this to
work so far. It seems django has an algorithm for selecting the language,
based on user's browser settings or cookies, and I cannot force it to use
the language I want.
I hope I managed to make myself clear, and thanks in advance for any id
Thanks, Malcolm. It works like a magic :) Just a small correction: it's utils,
not util:
django.utils.translation.activate()
I think I'll now see how to I can write a middleware, so I won't have to call
this in each and every view.
All the best,
Amit
> > The problem I
ׁHi,
As Malcolm pointed out, you'll have to use something like the third party
multilingual framework for translating the database stuff.
You can find it at http://code.google.com/p/django-multilingual/
Good luck,
Amit
ביום רביעי 11 יולי 2007, 12:06, נכתב על ידי Matt Davies:
>
there
some caching? I'm not too familiar with what's going on behind the scenes,
and I would appreciate if someone would shed some light on this issue.
Sorry for the long story...
Thanks,
Amit
--~--~-~--~~~---~--~~
You received this message because yo
.
http://code.djangoproject.com/ticket/4956
http://www.amitu.com/blog/2007/july/reverse-pagination/
Feedbacks appreciated!
--
Amit Upadhyay
http://www.amitu.com/blog/
+91-9820-295-512
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
er of objects, you do not want to show the oldest
post on the main page of your blog. What I am suggesting only changes the
page numbering.
--
Amit Upadhyay
Vakow! www.vakow.com
+91-9820-295-512
--~--~-~--~~~---~--~~
You received this message because you are subs
On 7/26/07, James Bennett <[EMAIL PROTECTED]> wrote:
>
> On 7/25/07, Amit Upadhyay <[EMAIL PROTECTED]> wrote:
> > I realized a new way to extend user models, it is simpler than official
> > get_profile approach of django[1] as there is only one model to work
> wit
e.djangoproject.com/wiki/ExtendedUserModel
3. http://www.amitu.com/blog/2007/july/django-extending-user-model/
--
Amit Upadhyay
http://www.amitu.com/blog/
+91-9820-295-512
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
is to be able to define an initial value for this field, and have it already
selected in the select list when I just enter the "add object" page. I've
tried using the default keyword argument in various ways but to no avail.
Googling also didn't help.
I would appreciate
Thanks Jake.
It works like a charm. I thought I tried this before, so I obviously made some
mistake.
Thanks,
Amit
>
> hi amit,
>
> Amit Ramon wrote:
> > units = models.CharField(maxlength=2, choices=UNITS)
> >
> > When I try to create a new instance o
ntained by python for the random number generator. This also raises some
questions: again, to make this work well there need to be a single server
process, the random number generator (or its state) need to be global.
I hope this is not too long, and clear eno
math here.
I'd happily read any comments.
Thank for all the replies,
Amit
* Marty Alchin <[EMAIL PROTECTED]> [2008-02-14 11:48 -0500]:
>
> On Thu, Feb 14, 2008 at 11:31 AM, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> >
> > Look at idea be
As Malcolm pointed before, the problem is most likely with the value of your
PYTHONPATH environment variable. Since you're using a shell script, simply set
this variable in this script itself, before invoking the python script.
--- Amit
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [20
I'm aware I'm a bit late :-), but here is a link to detailed instructions for
setting up django on a shared host (site5 in this case):
http://forums.site5.com/showthread.php?t=10236
--- Amit
* Snoop1990 <[EMAIL PROTECTED]> [2008-02-27 08:07 -0800]:
>
> Hey,
> I am n
se I'll have to disable autocommit myself).
I would appreciate if anyobe here could approve or disprove this behaviour, or
give any explanation: does Django disable autocommit when the above code is
executed? or does it always disable it?
Thanks,
Amit
--~--~-~--~~
You can do that easily enough without django...
one way is to do:
mysql -u -p < file.sql
the other is to go into mysql and there do:
\. file.sql
You can open a mysql shell with:
manage.py dbshell
--- Amit
* Tourneur Henry-Nicolas <[EMAIL PROTECTED]> [2008-03-25 17:32 +0100]:
&
* Tourneur Henry-Nicolas <[EMAIL PROTECTED]> [2008-03-27 08:27 +0100]:
>
> On Wednesday 26 March 2008 17:25:18 Amit Ramon wrote:
> > You can do that easily enough without django...
> > one way is to do:
> > mysql -u -p < file.sql
> >
> &g
w.djangoproject.com/documentation/db-api/#how-django-knows-to-update-vs-insert
It seems that if the object's primary key is not set, it'll be an insert; if it
is set, according to the docs, you'll have to chack against the database.
--- Amit
>
>
>
--~--~-~--~---
different
setting files.
--- Amit
* Brandon Taylor <[EMAIL PROTECTED]> [2008-03-30 13:56 -0700]:
>
> Hi everyone,
>
> I'm on shared hosting and can't modify any Apache settings. So, I'm
> assuming I need to specify which settings file to use in .htaccess.
>
ind of a mysql
shell, it is possible that the results of a transaction are not imediately
seen. There was a thread here dealing with this about 3 weeks ago, you may look
for "Django application does not see db changes made by external sources".
As for the mysql behaviour, you can read
have to do is
define the right locations for your static files, and then tell appache to
handle them directly, i.e. not by your django application. You do this in the
appache configuration file for your site, or in your site's .htaccess file. I
just pointed in the general direction, ask a
a browser identified as:
'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)'
Other that that, I'm completely in the dark. Could it be that a browser causes
the server to use a different (than its default) encoding? Any othe
lect in extra has parameters
(i.e. extra(select={...}, params=[...]), so be aware of that (you don't have
to use params).
If you can do it that way, it may be better than using a python list. The
performance of doing it in the database might be better, and besides, you
cannot always pass pytho
ascii string rightfully
(so the P.s. of my original post is stupid, too), so it screams on utf-8. It
happens in all environments, depending on the browser. I fixed my code to
convert the string using urllib.quote_plus and everything is working fine.
Thanks,
Amit
* Amit Ramon <[EMAIL PROTEC
his
>
> Entry.objects.all()[0]
>
> and then the sql is in the sql_queries. why?
>
I didn't understand the problem completely, but the syntax of your first
example is incorrect. You probably meant ...[0:1] - this is the syntax for
slicing.
If this do
why the LEFT function would return just one byte - I
would expect it to be aware to the utf-8 encoding and return the complete
utf-8 sequence (2 bytes in this case). But try to check in this direction.
Hope this helps,
Amit
--~--~-~--~~~---~--~~
You received thi
* Szymon <[EMAIL PROTECTED]> [2008-04-30 07:34 -0700]:
>
> On 30 Kwi, 15:40, Amit Ramon <[EMAIL PROTECTED]> wrote:
> > Hope this helps,
>
> Yup. I've replaced that extra function with simple {{ foo.bar.0 }} in
> templates and now everything works, so t
eld, and now it generates int(11)?
I looked at the list of incompatible changes but could not find a clue.
Thanks,
Amit
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gr
* Marty Alchin <[EMAIL PROTECTED]> [2008-05-15 07:15 -0400]:
>
> On Thu, May 15, 2008 at 6:45 AM, James Bennett <[EMAIL PROTECTED]> wrote:
> > On Thu, May 15, 2008 at 5:34 AM, Amit Ramon <[EMAIL PROTECTED]> wrote:
> >> Was there any change in django
* Marty Alchin <[EMAIL PROTECTED]> [2008-05-15 10:45 -0400]:
>
> On Thu, May 15, 2008 at 10:25 AM, Amit Ramon <[EMAIL PROTECTED]> wrote:
> > Now, if I subclass an existing field and I want to define the database type
> > myself, how do I do that? Is there a place
* Carl Karsten <[EMAIL PROTECTED]> [2008-05-25 17:25 -0500]:
>
> In the admin UI, is there any way to blank out a foo = model.ImageField(...)
> ?
>
> Carl K
foo = model.ImageFields(..., editable=False)
Is that what
TED] mcm_server_connect_next_avail():2322
In [3]: cache.get("k")
[EMAIL PROTECTED] mcm_server_connect_next_avail():2322
In [4]:
Am using cmemcache library:
http://leavingcorporate.com/2008/05/04/installing-cmemcache-on-ubuntu/
Anyone familiar with whats going on? TIA.
--
Amit Upadhyay
Vakow! www.va
I do, I started it thus:
> Start memcached: $ memcached -v
Its running on a diff console on same machine [my laptop]. Any other thing I
should double check?
--
Amit Upadhyay
Vakow! www.vakow.com
+91-9820-295-512
--~--~-~--~~~---~--~~
You received this message
On Tue, Jun 24, 2008 at 9:29 PM, Michael Wieher <[EMAIL PROTECTED]>
wrote:
>
> now I would just run the same test you ran earlier, try to set data in
> the cache, now that the cache itself exists
The memcached server was already running. I tried the test again anyways,
same re
that when this string gets parsed in the cache
> backend, it's probably getting nothing for an IP.
This was it. Thanks a million. I need more coffee when working late in the
night :-)
--
Amit Upadhyay
Vakow! www.vakow.com
+91-9820-295-512
--~--~-~--~~~---~
On 5/8/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 5/8/07, Amit Upadhyay <[EMAIL PROTECTED]> wrote:
> > I would recommend you take a look at lost-theories.com source code. One
> anti
> > pattern that django docs seems to recommend is use
> > django.con
fined?
Agree with you. I was suggesting this solution as a part of multiple type of
user scenario, where profile itself would be different. For us, we have
endusers, and businesses, and we require different kind of profiles for both
of them. .get_profile() does not handle this s
wn view. If you have questions about how to do it, just ask.
Cheers,
Amit
ביום שישי 01 יוני 2007, 23:11, נכתב על ידי Sacher Khoudari:
>
> Hello!
>
> I'm new to Django, and are currently playing around a bit. I've
> finished the tutorial, and have just started a small
tion of it for the novice user?
What is the use case here? How a string is translated from a variable? When?
Thanks in advance,
Amit
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Assuming your choices type is defined as:
LANGUAGES = (
('he', 'Hebrew'),
('en', 'English'),
)
You have to pass it through the context, and then you can access the list as
follows:
{% for lang in LANGUAGES %}
{{ lang.0 }} {{ lang.1 }}
{
What database is it? What are the database and database tables/columns
locales? You should give some more details so we can help. As a general idea,
check my questions above, and make suer the locale is unicode/utf-8.
--- Amit
ביום שישי 21 ספטמבר 2007, 19:07, נכתב על ידי drackett:
>
>
_NAME"]
Cheers,
Amit
ביום ראשון 11 נובמבר 2007, 02:43, נכתב על ידי Malcolm Tredinnick:
>
> On Sat, 2007-11-10 at 16:52 -0500, Faheem Mitha wrote:
> >
> > Hi.
> >
> > I'm having the following problem while testing. I'm writing a unit test
> >
code from http://www.amitu.com/django_mr.tar.gz, updated few minutes back. [I update this file every 12 hours from latest svn for my personal use, feel free to use this link.]
www.djangoprojects.com admins, can we have nightly svn builds please? -- Amit UpadhyayBlog: http://www.rootshel
e main advantage of using python for settings file is that we can do programmatic stuff in it, what could be better example than a
settings.py example which demonstrates this. All I am saying is dont just throw out a decently done work.-- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay
Lets say I have a Author and Article models, related via many to many. On the profile view of authors I want to show the articles they contributed to, but not all of them. The number is purely a decision of the designer, how does one do a limit/offset in template?
-- Amit UpadhyayBlog: http
On 5/14/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
On Sun, 2006-05-14 at 15:13 +0530, Amit Upadhyay wrote:> Lets say I have a Author and Article models, related via many to many.> On the profile view of authors I want to show the articles they> contributed to, but not a
y looking apache default comes up. I can change apache's 404 page to someother, but it seems it has to be static html file, not explored it much, but then its not really too bad.
-- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701
ached, for each field put a checkbox before that filed, and just try to imitate what iTunes does there. [May be put a little bit of ajax and have a togglable div displaying the current vaules of objects selected]. Please tell me if I am not being clear enough.
-- Amit UpadhyayBlog: http://www.rootshe
On 1/14/06, Amit Upadhyay <[EMAIL PROTECTED]> wrote:
As of having check boxes to select multiple item in admin views, I would much rather prefer "edit selected", where you can bulk edit items, delete being just one of the operations. Its like iTunes edit multiple song screenshot at
lso read: http://nerdierthanthou.nfshost.com/2006/01/django-tips.html-- Amit UpadhyayBlog:
http://www.rootshell.be/~upadhyay+91-9867-359-701
On 1/21/06, coowwa <[EMAIL PROTECTED]> wrote:
datelists = dailytodos.get_list(order_by=["-date"])My question: if I want to limit the number of todo items that displayson this page to say 20You are looking for
http://www.djangoproject.com/documentation/db_api/#limiting-sele
use a "assert False" somewhere in the view and django will produce an error page containing all post and get variables along with other info. I would say this is django way of inspecting headers and post/get data.
-- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701
django/views/auth/login.py and edit the following line:LOGIN_URL = '/accounts/login/'to make it read:LOGIN_URL = '/my_login_page/'
where my_login_page is the page where you want you login page to be, if your login form is in all the pages, you may still have a page devoted to login, explaining why one should login to your system. HTH,
PS: Should be wikified I guess.-- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701
arrasing incidents in the past; the 170 Mbyte
powerpoint, the CD!! that was uploaded, etc. etc.)http://api.rubyonrails.com/classes/ActionController/UploadProgress.html
-- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701
On 1/30/06, Maniac <[EMAIL PROTECTED]> wrote:
Amit Upadhyay wrote:> It would be good to have a general django wide setting specifying the> maximum length allowed for POST data, if underlying server allowed it.Django just doesn't control these things. Read my answer in this very
igital camera files and giving the server a hard time. sounds like a very valid concern, can we do something about it. It would be good to have a general django wide setting specifying the maximum length allowed for POST data, if underlying server allowed it.
-- Amit UpadhyayBlog: http://www.rootsh
ulators, one for each page. Validate page level manipulator and save the content in request.session, and when you are done on the last page, pick out all the saved temproary states and insert it in the database.
-- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701
On 1/31/06, Oliver Rutherfurd <[EMAIL PROTECTED]> wrote:
Hi Amit,> I would recommend creating your own FormManipulators, one for each page.> Validate page level manipulator and save the content in request.session, and> when you are done on the last page, pick out all the saved t
nction where you intend to call it. You can also use module constants, refer
http://www.djangoproject.com/documentation/model_api/-- Amit UpadhyayBlog:
http://www.rootshell.be/~upadhyay+91-9867-359-701
on, my application works with trunk, and will be broken with 0.92, is there any plan to branch the trunk before merging the magic removal, and supporting it for sometime while existing applications can test/migrate?
-- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701
P:... Text
Text...So I was able to know what item's where selected very easy. Just make aloop through the array post var, and check what id's have a "1" value.I suppose there's an easy way to do something like that in django, but
don't know how.Need some help.Thanks in advance.-- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay
+91-9867-359-701
please ignore my prev mail, tab space combo in gmail!-- Forwarded message --From: Amit Upadhyay <
[EMAIL PROTECTED]>Date: Feb 4, 2006 9:56 AMSubject: Re: Multiple checkboxesTo: django-users@googlegroups.comOn 2/4/06,
Javier Nievas <[EMAIL PROTECTED]> wrote:
I have a l
we are looking for.
in the view where you are using it. -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701
you hit it.
Create a view that server this url containing GUID/UUID as parameter, and if it matches with one in database, delete that object and log user in.I have done something similer for invitations, as soon as i get a request containing previously generated GUID, i create a user and log
uctor.Or if you are using render_to_response/string shortcuts, use something like:
render_to_response('template', context_instance=DjangoContext(request))-- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701
1 - 100 of 225 matches
Mail list logo