Hi
Can .values() method return fields of child model i.e fields of
forward relation across a database
---
Subramanyam
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
t I need more. I need to tell
>> Django to make the email unique, and I need to login and create users
>> from the admin with the @ character.
>>
>> What is the best approach for this?
>>
>> I've been searching in google but no one of the solutions can
>&
small correction
On Fri, Oct 30, 2009 at 7:41 PM, Subramanyam wrote:
> Hi
>
> Firstly you can try using the following auth-backend
> http://www.djangosnippets.org/snippets/74/
>
> secondly
> while rendering the signup form to the user
> you can write a clean method i
Hi
The problem is that the css files are not being rendered in the path
that you mentioned
to try debugging further do a find in your media folder to list the
css files if you dont find them , then you found the problem
Regards
Subramanyam
On Jun 13, 9:11 pm, Jagdeep Singh Malhi
wrote:
> i
Hi
In your models.py
Change the below to
name = models.CharField(maxlength=30)
this
name = models.CharField(max*_*length=30)
underscore is the diff
Regards
Subramanyam
On Wed, Jul 21, 2010 at 6:30 PM, balu wrote:
> Respected sir
>
> This is balu studying B.Tech third year.
x27;t fit our
requirement
Is there a way that we can have alphabetic pagination in the drop down
menu of Admin
Thanks in advance
Subramanyam
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send ema
Hi
what is the most efficient way to get the sessionId(s) of a user by
the username (where in the same user can log-in on mulitple
systems) , btw the I am using sessionID as the key for my cached
objects
Is there any middleware that I can use
Thanks
Subramanyam
--
You received this message
Hi
Found a pointer which I feel is more relevant to my question
http://stackoverflow.com/questions/235950/how-to-lookup-django-session-for-a-particular-user
Will update on the solution after I get/develop one :)
Regards
Subramanyam
On Thu, Dec 31, 2009 at 9:37 AM, Subramanyam wrote:
>
n_memcached-1.45-
py2.6.egg/memcache.py", line 697, in _val_to_store_info
pickler.dump(val)
PicklingError: Can't pickle : attribute lookup
django.utils.functional.__proxy__ failed
please let me know if anyone has seen the error before
Thanks
Subramanyam
--
You received this mess
ize again to get the objects back
Thanks again !!
Regards
Subramanyam
On Wed, Jan 6, 2010 at 8:42 AM, Frank DiRocco wrote:
> 'yam,
>
> I have not seen this error, but my responses to the error are inline.
>
>
> On Jan 6, 2010, at 6:30 AM, Subramanyam wrote:
>
&g
Hi
Did you use memcache in deployment in the shared plans
Regards
Subramanyam
On Sun, Apr 4, 2010 at 9:54 PM, Justin Myers wrote:
> I'm a fan of Webfaction's shared plans, and I've used them for three
> or four projects now. I've had no problems with their supp
Thanks in advance
Subramanyam
--~--~-~--~~~---~--~~
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
es of code snippets.
btw I have to place an international order since it is not available
in the Asian Edition
Thanks in advance
Subramanyam
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
Hi kenneth
I was referring to the paper edition
On Nov 30, 12:15 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 30-Nov-07, at 12:22 PM, Subramanyam wrote:
>
> > Can you please share your reviews like , is it the same as the django
> > book available in thewww.dja
Better dont assume and answer
let me know if you have gone through the book
On Nov 30, 12:26 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 30-Nov-07, at 12:52 PM, Subramanyam wrote:
>
> > I was referring to the paper edition
>
> what is there in the site will be
old indexes created and add the new ones
Thanks
-Subramanyam
--
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.
constraints/indexes created and add the new ones
Thanks
-Subramanyam
--
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...@goog
Hi
Found the solution
ran the following sql directly and it worked fine
ALTER TABLE `table_name`
DROP INDEX `field1`
, ADD UNIQUE INDEX `field1` (`field1` ASC, `field2` ASC, `field3` ASC) ;
Also checked a distinct on the three fields to ensure data integrity
Thanks
Subramanyam
On
, deployment automation, ...
and the rest
Subramanyam
On Thu, Dec 23, 2010 at 12:10 AM, Dana wrote:
> I've been bashing my head against a wall lately trying to determine
> the best (highly subjective, I know) workflow for developing Django
> projects.
>
> What I have gathered so fa
hi Dana
On Thu, Dec 23, 2010 at 12:51 AM, Dana wrote:
> Subramanyam, thanks for the response.
>
> In regard to 3, I am not clear why it would be a good idea to add in
> model fields for things you *think* you might want some day.
>
> I would think that using Django South or
hi
On Fri, Dec 24, 2010 at 10:32 AM, Dana wrote:
> @Subramanyam
>
> > South is a good tool, but my point is its better not to get to the point
> > that we have to use South.
>
> Why do you think South is a fallback rather than part of your toolset?
> From what I can
If we subclass ListView and try to override the get_content_data in 1.8.11
kwargs are not showing up, is this a bug ??
I have seen a bug already but I am not sure whether
https://code.djangoproject.com/ticket/17242 is to be revisited
Bala
--
You received this message because you are subscrib
Hi Juanjux
Did you deploy the above chat application in any production site or so
do you have any stats like how many max users it can handle
Thanks in advance
Regards
Subramanyam
On Sun, Jul 5, 2009 at 7:54 PM, Juanjux (Google) wrote:
>
> Hi Ivan,
>
> It's not based on
Django is deleting sessions from database?
> How can this be? If I hit my application, and than Django admin I
> lost my application session?!
>
> Django 1.0.2, Windows XP, MySQL
>
> Apache and Django server, result is the same.
>
> >
>
--
Regards
Subramanyam
--~--~---
ngo way of retrieving only the values as a list and not
> > the fieldname
>
> Have a look at the values_list() method. That does what you are after.
>
>
> http://docs.djangoproject.com/en/dev/ref/models/querysets/#values-list-fields
>
> Regard
Hi Daniel ,Malcom
Thanks for the reply
That exactly was the solution I wanted
On Mon, Aug 3, 2009 at 11:47 AM, Daniel Roseman wrote:
>
> On Aug 3, 7:03 am, Subramanyam Vemu wrote:
> > Hi Malcom
> >
> > The values_list() returns a list of tuples whereas I am looking fo
Hi
I opted for Djongo to take advantage of Django ORM with MongoDB..
but while starting the server, i get the following error
AppData\Roaming\Python\Python38\site-packages\django\db\utils.py", line
121, in load_backend
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured
read mischief in the land - it would be as if he killed all mankind, & if
> anyone saved a life, it would be as if he saved the life of all mankind.
>
>
> On Fri, Mar 20, 2020 at 2:05 AM Eswar Subramanyam <
> eswar.subraman...@gmail.com> wrote:
>
>> Hi
>>
>>
;pymongo'
The *above exception was the direct cause *of the following exception:
Indeed that's where Khaleel you were right, PyMongo i installed through
pycharm, which desginated a sitepackage folder that wasnt my user
site-package...
Hope this helps someone falling into the same trap.
Ch
I am using MongoDB as underlying DB with Django.
pipeline = {
'price' : Sum('price'),
'month' : ExtractMonth('dateValue'),
}
queryset =
ListingBooks.objects.values('dateValue','typeBook').annotate(**pipeline)
Unfortuantely i get a NotImplementError,
I am using MongoDB as underlying DB with Django.
pipeline = {
'price' : Sum('price'),
'month' : ExtractMonth('dateValue'),
}
queryset =
ListingBooks.objects.values('dateValue','typeBook').annotate(**pipeline)
Unfortuantely i get a NotImplementError,
Does someone have any idea of any other groups on which i can get help on
my question ? Thanks. BR Es.
Le lundi 23 mars 2020 16:14:37 UTC+1, Eswar Subramanyam a écrit :
>
> I am using MongoDB as underlying DB with Django.
>
> pipeline = {
> '
I've been working on updating the existing code base that was using Django
1.6 to Django 1.8. In the process, I've been facing a particular problem
with aggregates. In this code, *PGDAggregate* class has a method
*add_to_query* which is intended to instantiate the SQL implementation of
the a
Hi
I am currently using django channels and have deployed them as well
However , we currently want to separate the runworker from runserver
As mentioned in the channels we have to run "python manage.py runserver
---noworker"
so that all the websocket requests can be handled separately
how
ests run via ASGI - so you
> need an ASGI server. You can read the official documentation and see your
> alternatives here:
> https://docs.djangoproject.com/en/4.1/howto/deployment/asgi/
>
> Regards,
>
> Andréas
>
>
> Den ons 11 jan. 2023 kl 19:41 skrev Bala Subrama
35 matches
Mail list logo