Please contact @RishavPant or @RohitSharma
On Wed, Sep 7, 2022, 19:36 Vineet Kothari
wrote:
> Hi,
> I want to create a web app like dream 11 any hint will be appreciated.
>
> Thanks & Regards,
> Vineet Kothari
>
> --
> You received this message because you are subscribed to the Google
Why are you fucking passing the args
On_delete in manytomany . Class
promotion = models.ManyToManyField(Promotions, on_delete=models.CASCADE)
On Sun, Dec 5, 2021, 21:09 Samuel Nogueira wrote:
> Please, can you take some prints of your models?
>
> Em dom., 5 de dez. de 2021 12:34, Khánh
use indexes..
On Wednesday, February 10, 2021 at 7:25:45 PM UTC+5:30 en2lin...@gmail.com
wrote:
>
> I am developing a django application, most of the views are tables, I am
> facing a problem the loading time of my page is extremely long. how can I
> do to optimize this, my data set
The one major use is that this function helps you avoid situations where
you have to hardcode a URL in your templates. Instead, you use something
like {{.get_absolute_url}} and even if you change the path in
some way at some later point of time, it won't matter. It's basically a
really good
i am using django-1.11.6. whenever i open my admin panel and login to it then
it looks like the simple html file. no any css files are loading .The
interface i am seeing is totally different than that of the tutorials using
which i am learning.please give me the stepwise solution
--
You
Its showing error LookupError: 'base64' is not a text encoding; use
codecs.decode() to handle arbitrary codecs.
Last few lines when the execution stops are - thumbnail =
resize(photo_data, 200, 200) File "/home/anurag/photoshare/app.py", line
406, in resize image_string = StringIO(
All,
I have a Long Running Python Process that uses Django ORM against Oracle
database.
The size of the process keeps on increasing steadily.
I was profiling this process using mem_top and i find that the reference
count of one particular data type increases continuously with
iterations.
I am trying to create a form in which the user enter details like his email
id and query.
After the form is submitted i have to save the data that I get from the
form along with some additional info such as userid , submitted date and
time, etc into the database.
What approach should be
I have a field in my models.py file as follows
ticket_id = models.AutoField(primary_key=True)
The value for the ticket_id column starts at 1. say i wanted it to start
from some value (say 989) . how do i accomplish this using django?
--
You received this message because you are subscribed to
yCharm (Best Python/Django IDE)
> http://www.jetbrains.com/pycharm/
> "Develop with pleasure!"
>
>
> >-Original Message-
> >From: django...@googlegroups.com
> >[mailto:django...@googlegroups.com ] On Behalf Of Anurag
> Baidyanath
> >Sent: We
i am implementing a ticket submission system whose model.py file looks loke
this:
class Ticket(models.Model):
user_id=models.ForeignKey(User)
category_id=models.ForeignKey(Category)
subject=models.CharField(max_length=100)
message=models.TextField(help_text="enter message")
(self.user_id)
On Tuesday, 10 June 2014 18:23:42 UTC+5:30, Daniel Roseman wrote:
>
> On Tuesday, 10 June 2014 12:25:10 UTC+1, Anurag Baidyanath wrote:
>>
>> i am having difficulty in saving the form data to the database.
>>
>
> And we are having difficulty reading
i am having difficulty in saving the form data to the database.
After the user submits the form; fields such as ticket_id , created_date,
etc have to be added to the POST request which is generated as a result of
the form submission. I have copied the POST data to another dictionary and
It goes into Lib\site-packages folder.
Regards,
Anurag
On Thu, Dec 12, 2013 at 6:55 PM, Frederick Miller <fjmille...@gmail.com>wrote:
> For Windows XP, should Django be installed under the Python27 folder? Or
> should Django be on the root of the C: drive?
>
> Frederick M
is the Django bit here?
Regards,
Anurag
On Thu, Aug 22, 2013 at 3:09 PM, <7equivale...@gmail.com> wrote:
> My users will not be able to logout by closing a browser because they have
> no such interaction with the system. They will be passing an RFID tag over
> a reader to
Read this for a starter
http://www.postgresql.org/docs/9.2/interactive/index.html
Regards,
Guddu
On Mon, May 20, 2013 at 3:35 PM, Kakar Arunachal Service <
kakararunachalserv...@gmail.com> wrote:
> hi guyz!
> I'm new to django and python, and very new to postgresql. Can u suggest
> any books
Glad that it worked
On Wed, May 15, 2013 at 11:52 AM, Cody Scott wrote:
> The problem was that the LDAPSearch had to start with a OU= I had it start
> with a DC=.
>
>
> On Wednesday, 15 May 2013 11:27:08 UTC-4, Cody Scott wrote:
>>
>> I have that code but where does
Its just basic python logging
http://docs.python.org/2/library/logging.html
Look at logging to a file
http://docs.python.org/2/howto/logging.html#logging-advanced-tutorial
Regards,
Guddu
On Wed, May 15, 2013 at 11:27 AM, Cody Scott wrote:
> I have that code but
Ok. Now try to get django-ldap-auth working. See if you can enable the
logging handler and grab some more information.
http://pythonhosted.org/django-auth-ldap/logging.html
Regards
Guddu
On Wed, May 15, 2013 at 10:56 AM, Cody Scott wrote:
> Ok The problem was that I
Hi Cody
In the link that you sent i see that initialize is a valid attribute.
Also did you name your python file as ldap.py? If yes then that's the
problem i guess. Please rename it to something else and see what it gives
you.
Could you run these in a Python interpreter and tell me what does
What does this give you?
import ldap
dir(ldap)
Regards
Guddu
On Wed, May 15, 2013 at 10:04 AM, Cody Scott wrote:
> I put that code in a separate python file and ran it without django or
> django-auth-ldap.
>
> l = ldap.initialize()
> AttributeError: 'module' object
Setting up of groups is not a requirement. In my case I am searching for
group membership just to grant/deny access based on Group membership also.
I sent my settings to you just to show you how I was using sAMAccountName
for user search.
So what exactly is not working in your case? You are not
Hi Cody,
I am also using a Search Bind in a similar situation as yours You could
easily use the samaccountName for User Search.
Here is what I have in settings.py to give you a clearer picture.
AUTH_LDAP_USER_SEARCH = LDAPSearchUnion(
> LDAPSearch("OU=Users,
>
Within the templates, you can show different HTML elements based on the
user attributes/group. Traditional IF checks.
Regards,
Guddu
On Fri, Apr 12, 2013 at 4:59 PM, Enator24 wrote:
> Hi I need to develop an application where I have three groups first the
> creator,
Look at
1. Twitter Bootstrap. http://twitter.github.com/bootstrap/
2. Foundation Zurb. http://foundation.zurb.com/
Regards,
Anurag
On Mar 14, 2013 7:03 AM, "Frank Bieniek" <frank.bien...@produktlaunch.de>
wrote:
> Hi Guys,
> what are your preferred apps to tur
Try using gSOAP if that fits your needs.
http://www.cs.fsu.edu/~engelen/soap.html
Regards,
Guddu
On Thu, Jun 28, 2012 at 2:47 PM, Rene wrote:
> Pessoal,
>
> Preciso montar um webservice que gere um wsdl, mas não achei algo que
> fosse mais direto na web, alguém tem um
Could you have a look at the Error Logs as shown on the Tools --> Web
Developer --> Web Console in Firefox if u have something in there?
On Thu, May 10, 2012 at 7:43 AM, atul khairnar wrote:
> When right-clicked at the location where flash should have rendered,
> it
What Javier meant in his previous message was a client application
.which of course could be a browser running on your own computer.
For a better understanding of client/server model you could review the
Wikipedia page
http://en.wikipedia.org/wiki/Client%E2%80%93server_model
Regards,
Guddu
This is weird
I simply copy pasted your code in my environment and it shows me a Drop
Down.
Could you save the models file again and close your browser (or even try
clearing cache) and restart your apache/django dev server whatever may be
the case and try again?
Regards,
Anurag
On Mon, Feb
You will need to allow apache access to the folder where you have your wsgi
script.
Please add this in your httpd.conf and restart apache and see if it helps.
Order deny,allow
Allow from all
Regards,
Anurag
On Wed, Jan 4, 2012 at 6:52 PM, Hassan <halna...@gardeniatelco.com> wrote:
>
Could you try changing your WSGIScriptAlias in httpd.conf
From
WSGIScriptAlias / "C:/mysite/django.wsgi"
To
WSGIScriptAlias /MYSITE "C:/mysite/django.wsgi"
And then access http:localhost:port/MYSITE and tell is the results.
Regards,
Anurag
On Jan 4, 2012 7:19
I am in :-)
On Wed, Jun 22, 2011 at 11:39 AM, Ivan Aleman wrote:
>
>
> On 22 June 2011 08:15, Cal Leeming [Simplicity Media Ltd] <
> cal.leem...@simplicitymedialtd.co.uk> wrote:
>
>>
>> If you're interested, please reply on-list so others can see.
>>
>>
>>
> Sweet! Count
manually to reflect the New
Column Name.
Regards,
Anurag
On Mon, Apr 18, 2011 at 7:41 PM, Kann Vearasilp <vearas...@gmail.com> wrote:
> Hi Anurag,
>
> That was one of my idea, but what if the table has already been populated
> and I don't want to lose the data in the table?
>
Hi Kann,
Does Dropping the Table and Recreating using SyncDB work well in your setup?
Regards,
Anurag
On Mon, Apr 18, 2011 at 7:30 PM, Kann <vearas...@gmail.com> wrote:
> Dear all,
>
> I am new to django and have question about fixing the typo i made in
> the models.py. For
This is a Python Question (not Django)
How are you populating cr? Did you check if there are any rows at all
before looping over the rows?
Regards,
Anurag
On Fri, Mar 18, 2011 at 12:07 AM, NavaTux <navaneetha...@gmail.com> wrote:
> Here I ahd a piece of code to execute my custom python
I just posted a simple script to autocomplete django-admin.py/manage.py
commands in bash:
https://github.com/agoel/django-bash-complete
I hope it can save everyone some keystrokes.
Best,
Anurag
--
You received this message because you are subscribed to the Google Groups
"Django users&q
Could you try with this
elif request.method == 'POST':
print request.raw_post_data
response = HttpResponse(mimetype='text/xml')
response.write(request.raw_post_data)
return response
Regards,
Anurag
On Thu, Jan 27, 2011 at 1:07 PM, sami nathan <itssam
Googling for django-mailer gets me to this page
http://code.google.com/p/django-mailer/
<http://code.google.com/p/django-mailer/>Regards,
Anurag
On Fri, Jan 21, 2011 at 8:58 PM, hank23 <hversem...@stchas.edu> wrote:
> OK what exactly is django-mailer?
>
> On Jan 19, 4:
;help", "copyright", "credits" or "license" for more information.
>>> import psycopg2
>>>
Regards,
Anurag
On Sat, Jan 15, 2011 at 10:37 AM, Django <greg0...@yahoo.com> wrote:
> I am using Python27, Django and wanted to us Postgresql,
Welcome to the community Dave.
Season's greetings to you too and everyone.
Regards
Anurag
On Sun, Dec 19, 2010 at 5:46 PM, Dave Sayer <d...@bathdesign.co.uk> wrote:
> Seasons Greetings,
>
> I joined the list yesterday and just wanted to say "Hi" and introduce
> my
if it works.
Regards,
Anurag
On Sat, Dec 18, 2010 at 3:20 AM, armandoperico <armandoper...@hotmail.com>wrote:
> sorry,
> how should do to specify the password on the wsgi file ?
> this would be the best i have so far.
>
> thanks
>
>
> On Dec 17, 10:17 pm, Anurag Chouras
per...@hotmail.com>wrote:
> yes.
>
> On Dec 17, 10:04 pm, Anurag Chourasia <anurag.choura...@gmail.com>
> wrote:
> > On this server, are you able to connect to the PostGre database using
> the
> > command line?
> >
> > psql -U myuser -h 127.
On this server, are you able to connect to the PostGre database using the
command line?
psql -U myuser -h 127.0.0.1 -p 5432 -d dbname
Regards,
Anurag
On Sat, Dec 18, 2010 at 2:19 AM, armandoperico <armandoper...@hotmail.com>wrote:
> on settings.py..
>
> DATABASES =
You might want to check your wsgi script.
Looks like the environment variables that you have in there are wrong and
not allowing the import of settings.py
Regards,
Anurag
On Sat, Dec 18, 2010 at 1:32 AM, armandoperico <armandoper...@hotmail.com>wrote:
> Hi,
> this is the firs
Yes there is.
You need to use
*./manage.py sql auth*
instead of
*./manage.py sql django.contrib.auth*
Regards,
Anurag
On Fri, Dec 3, 2010 at 5:48 PM, Tim Sawyer <list.dja...@calidris.co.uk>wrote:
> Is there a way to generate a sql script that gets the entire table
> struct
Hi Ian,
Can't tell you how much this helps :-)
Setting the variable using ctypes before the import of cx_Oracle does the
trick for me.
Appreciate the time you spent in helping resolve this.
Is there any Cygwin specific doc where we could include this?
Regards,
Anurag
On Fri, Dec 3, 2010 at 6
ce_unicode
raise DjangoUnicodeDecodeError(s, *e.args)
django.utils.encoding.DjangoUnicodeDecodeError: 'utf8' codec can't decode
bytes in position 22-24: invalid
data. You passed in 'Registro guardado con \xe9xito' ()
Regards,
Anurag
On Fri, Dec 3, 2010 at 4:47 AM, Ian Kelly <ian.g.ke...@gmail.
>> connection.cursor() # Initialize the connection
>>> print os.environ['NLS_LANG']
.UTF8
>>> print connection.connection.encoding
WINDOWS-1252
>>> print connection.connection.nencoding
WINDOWS-1252
>>>
Regards,
Anurag
On Fri, Dec 3, 2010 at 12:06 AM, Ian Kelly
Hi Ian,
Yes.I set the NLS_LANG in my shell to UTF8 before trying this.
Query using Django model still fails (direct query using cx_Oracle works
fine)
Regards,
Anurag
On Thu, Dec 2, 2010 at 1:20 PM, Ian Kelly <ian.g.ke...@gmail.com> wrote:
> On Wed, Dec 1, 2010 at 7:58 PM, Anurag
.execute("select to_term from terminology_map where id=316")
>>> cursor.fetchone()[0]
'Registro guardado con \xe9xito'
Regards,
Anurag
On Wed, Dec 1, 2010 at 10:51 PM, Ian <ian.g.ke...@gmail.com> wrote:
> On Nov 30, 8:31 pm, Anurag Chourasia <anurag.choura...
tils.encoding.DjangoUnicodeDecodeError: 'utf8' codec can't decode
bytes in position 1-3: invalid data. You passed in 'P\xe1ginas' ()
Please let me know if I am doing something wrong here or if there is already
a solution available for this encoding problem.
Regards,
Anurag
--
You received th
I am facing a very peculiar problem that even when I delete some rows,
I can just get them back again in same transaction.
Edit:
I have created a sample app to test it out, so that I can be sure that
none of my code is culprit.
I created a testapp with following code
**models.py**
import
.
On Dec 23 2008, 1:59 pm, Kenneth Gonsalves <law...@thenilgiris.com>
wrote:
> On Monday 22 Dec 2008 4:21:31 pm Anurag wrote:
>
> > comd = [\
> > "tar -xf x.tar.gz", \
>
> nothing to do with python:
> [law...@localhost programs]$ tar -xf x.tar.gz
, Anurag <anurag.baga...@gmail.com> wrote:
> Hello,
>
> I have started using python recently and would like to call a short
> python script via
> browser using a CGI script, but initially I am trying to call the same
> python script directly through python command line. The scrip
Hello,
I have started using python recently and would like to call a short
python script via
browser using a CGI script, but initially I am trying to call the same
python script directly through python command line. The script intends
to
perform a few command line in a pipe and I have written
lf asking for materials, Google first! Then,
> if you still have questions, use the mailing lists. Otherwise it
> looks like you're just too lazy to do your own research.
>
> On Oct 22, 11:16 am, Anurag <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > It is actually t
to this.
Thanking you once again.
Regards.
On Oct 22, 2:41 pm, bruno desthuilliers
<[EMAIL PROTECTED]> wrote:
> On 22 oct, 14:11, Anurag <[EMAIL PROTECTED]> wrote:
>
> > Hello Gerard,
>
> > Thank you so much for your suggestion. I have tried working in the
> > d
with respect to
developing a Web-server using Python-CGI. Could you suggest some
tutorials or links to them which could be helpful for a newbie to
Python like me.
Thanking you in advance.
Regards.
On Sep 25, 5:58 pm, Gerard Petersen <[EMAIL PROTECTED]> wrote:
> Anurag,
>
> In your ca
...!!!
ANURAG KUMAR BAGARIA
PhD Student
Institute for Biophysical Chemistry
J. W. Goethe University, Frankfurt
Frankfurt am Main, Germany
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" grou
wrote:
> On Aug 22, 4:18 pm, Anurag Goel <[EMAIL PROTECTED]> wrote:> I was able to
> implement the generic views change with yesterday's
> > trunk version successfully. I did not have to do anything special (no
> > separate admin.py, no get_absolute_url())
>
> > I did h
, no need for any additional changes.
On Aug 22, 1:38 am, Rodney Topor <[EMAIL PROTECTED]> wrote:
> On Aug 22, 4:18 pm, Anurag Goel <[EMAIL PROTECTED]> wrote:> I was able to
> implement the generic views change with yesterday's
> > trunk version successfully. I did not
, template_name='polls/
results.html'),
'poll_results'),
(r'^(?P\d+)/vote/$',
'mysite.polls.views.vote'),
)
--end--
Hope this helps.
-Anurag
On Aug 21, 10:45 pm, Rodney Topor <[EMAIL PROTECTED]> wrote:
> I'm having trouble modifying the
Sorry for this repeat post - but i am getting quite desperate and be
very thankful for some help...
I am unable to display images directly through Apache - with the
following configuration.Can someone please help. Much thanks!
the line in my base html reads the following
my media_url is
I am unable to display images directly through Apache - with the
following configuration.Can someone please help. Much thanks!
the line in my base html reads the following
my media_url is set to /static/
and the htpd.conf reads the following
SetHandler python-program
Thanks so much!
Anurag
On Sep 24, 1:39 pm, "Jonathan Buchanan" <[EMAIL PROTECTED]>
wrote:
> On 9/24/07, Anurag <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi,
> > Sorry for this repeat post - but i am getting desperate and
> > seeking
Hi,
Sorry for this repeat post - but i am getting desperate and
seeking some quick kindly help.
I am unable to get my admin media to be served by Apache. I am runinng
on windows.
Here is my httpd.conf
SetHandler python-program
PythonHandler django.core.handlers.modpython
AIL PROTECTED]> wrote:
> On 21-Sep-07, at 5:13 PM, Anurag wrote:
>
> > However my admin interface is all garbled up and what i did was i
> > copied the media directory from /admin/media into the htdocs of my
> > Apache setup. But i am still unable to see the admin interface
&
ntrib/admin/
media/"
Order deny,allow
Allow from all
On Sep 21, 4:57 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 21-Sep-07, at 5:13 PM, Anurag wrote:
>
> > However my admin interface is all garbled up and what i did was i
> > copied the
hello,
i am a new user of django and would like some simple worded
instructions on how to serve
the admin interface with Apache and mod_python.
With my current set up i have the following in my httpd.conf:
SetHandler python-program
PythonHandler
69 matches
Mail list logo