OrderItemDeliveryDates
(
OrderID int PK,
ItemNo int PK,
DeliveryDate Date PK,
Quantity Required
.
.
.
)
Thanks,
Sanjay
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
to the existing database? Seems risky if
other applications are using the DB parallely?
Thanks again.
Sanjay
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
Sanjay
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED
Hi Michael,
Nice to get clear answers to my queries. Thanks a lot.
Sanjay
--~--~-~--~~~---~--~~
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@google
Django developers may be interested in this opening in Boston or
Managua.
http://www.quoininc.com/quoin/quoin-about/jobs/python-django-rails-engineer-boston.html
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
I am new to Django, and I was confused in choosing a IDE between Eclipse
and aptana studio 3 to edit source code. Kindly suggest me a good one.
Thank you in advance,
Regards,
Sanjay M
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
Thanks for all the replies, But what is the difference between aptana
standalone version eclipse plugin version?
On Monday, May 14, 2012 9:26:22 PM UTC+5:30, Sanjay M wrote:
>
> I am new to Django, and I was confused in choosing a IDE between Eclipse
> and aptana studio 3 to edit so
I want to create a virtualenv pip, but I don't know how to Install
virtualenv by running pip install virtualenv? Can anyone explain how to
setup a virtualenv?
Thanks in advance,
-Regards,
Sanjay M
--
You received this message because you are subscribed to the Google Groups
"Dj
he idea of storing some
things just on the file-system quite interesting, and the code to
manage it is generally pretty straightforward.
Of course, this may also be a terrible idea, but I'd also love to hear why .. :)
Cheers,
Sanjay
On Tue, Jan 8, 2013 at 9:52 AM, Lachlan Musicman wrote:
On Sat, Jan 12, 2013 at 12:04 AM, chad petzoldt wrote:
> Sanjay, you were hitting things pretty close. I think that making sure slug
> names match up to real *static* locations is the key. I am hosting with
> Apache, and I thought about using some configurations to cheat a little bit,
lthough, er, anything that you use to manage
content is a content management system :)
The other option, of course, is to tell the client that they need to
stick to a consistent format, and then just put stuff into different
fields in the database and render it in a template like normal :)
hope my
ist view:
>
> {% load url from future %}
> {% if object_list %}
>
> {% for adcall in object_list %}
> {{ adcall.name
> }}
> {% endfor %}
>
> {% endif %}
>
try:
{% url 'detail' object_id=adcall.id %}
since you have object_id defined as
this to create a
requirements.txt file to 'pip install -r requirements.txt' from on the
new server while making sure it gets the very exact version of
dependencies so you can be sure it is running the same code -- in
general, I have found this to be the smoothest way to deploy projects
o
packages .
Then it should use mysqldb from the one installed by apt, which should
generally work better with the version, etc. on your machine than the
one installed from pip.
Hope that helps,
Sanjay
> let me know if you finish it.
>
> With Best
> -Ashwin.
> +91-9959166266
>
>
&g
nd a
way to specify something like "keep format of uploaded image" - this
was some time ago, though, so I'll check again - if anyone has dealt
with this, though, would love to know how :)
Cheers,
Sanjay
> https://github.com/sorl/sorl-thumbnail
>
>
> On Saturday, Fe
x27;s a jquery plugin
for that:
http://blog.stanisla.us/2009/10/10/jquery-plugin-django-dynamic-formset/
You should also probably read the documentation at
https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#inline-formsets
which covers these things better than my email :-)
All the best
for future reference, I find http://downforeveryoneorjustme.com/ to be
quite useful for checking this sort of thing
On Wed, Feb 13, 2013 at 5:12 PM, Babatunde Akinyanmi
wrote:
> Its not just you, at least when I'm not trying with my phone.
>
> ..and say your from Nigeria not Africa
>
> Sent f
distance.
>
just off the bat -- the distance query expects a decimal.Decimal
object - so you'd need to convert whatever
models.F('connection_distance') returns into a valid Decimal before
passing it to the query ..
-Sanjay
--
You received this message because you are subscribed
ed though, let me know, I can try and answer :)
Cheers,
Sanjay
On Fri, Mar 15, 2013 at 9:36 PM, Javier Guerra Giraldez
wrote:
> On Fri, Mar 15, 2013 at 10:15 AM, Tom Evans wrote:
>> I'm
>> fairly certain that should not throw any change
>> events or make the name of the
. What would be your use-case for getting
the path on the user's machine?
-Sanjay
--
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
work no problem .. ).
Please do share what works out though - I was extremely excited about
the new Abstract User class, but found subclassing AbstractUser and
maintaining admin usability to manage users really hard to accomplish,
some-how. Let me know if you want me to post more details on what
i
On Tue, Mar 19, 2013 at 3:11 AM, Lachlan Musicman wrote:
> Sanjay!
>
> How are ya? I'll let you know as soon as I've properly implemented the
> whole shebang. Re "problems with admin" I just sent an email to
> pydanny of 2Scoops in this regard. I don't
Hello Everyone,
I new to Django. I'm using portable PyScripter 2.4.1.0 (Python 3.2.1) for
learning Python. Recently I downloaded Django 1.5. With help of tutorials,
I could install Django on this portable PyScripter.
Currently I'm able to create projects and apps in the Django. However I'm
not
ore adding the m2m, is it ?
Any-how, um, not sure if that helps at all or adds to the confusion, just
that I remember experiencing some brain-jelly and at that point, grokking
the 'symmetrical=False' option was my way out of it .. not sure if that's
your problem, though :-)
Cheer
uire two different versions of
something like psycopg2 for different projects, so it should not be
problematic to have it installed system-wide ..
All the best,
Sanjay
On Sun, Apr 14, 2013 at 10:17 PM, Serdar Dalgic wrote:
> On Sun, Apr 14, 2013 at 5:45 PM, Mustafa Tulu
> wrote:
>
OT,'../static/assets'),
> )
>
>
> In template files.
>
>
>
Shouldn't that be:
( /static/ ... instead of static/ ... )
If its missing the initial slash, the link would be relative to the current
page, which would be fine at http://yourdomain.com or
http://yourdomain
I have used https://pypi.python.org/pypi/django-image-cropping/0.5 to offer
image cropping functionality in the admin and it has worked quite well for
me.
Hope that helps,
Sanjay
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscri
dependencies, and for
ones that don't pip install, you should find .exe installers with a quick
google.
Hope that helps,
Sanjay
On Wed, Jun 26, 2013 at 9:58 PM, Timur Kartaev wrote:
> Yes, I am trying to use django on local machine and want to use MySQL. If
> you have any other
from your email that what you need is something similar, and
perhaps someone from the list has a better idea than the above to do it ..
Hope that helps, though ..
All the best,
Sanjay
On Sun, Jun 30, 2013 at 1:59 AM, MacVictor wrote:
> I try in view get the form by name.
> Example:
&g
>
Hey L :),
fwiw, this should work if you want to install via pip currently:
pip install -e git+https://github.com/django/django.git@1.6b1#egg=django
The docs [0] do say that pip install django==1.6b1 should work though, so
I'm guessing someone is going to push to pypi soon :-)
Cheers,
t the error, but the ajax success function does not seem to be
> called.
>
> An invaluable tool here is to use the Developer Tools in the browser to
inspect AJAX requests made and their responses .. in Chrome, open Developer
Tools (f12 is a handy shortcut for this) and go to the Network Tab
om pdb that the python code is sending
> something in the content when it does this:
>
> return HttpResponse(content=data, content_type="text/plain", status=200)
>
> try:
return HttpResponse(data, content_type="text/plain", status=200)
(no content= ... )
be
On Tue, Jul 2, 2013 at 4:20 PM, Larry Martell wrote:
> On Tue, Jul 2, 2013 at 5:14 PM, Sanjay Bhangar
> wrote:
> > On Tue, Jul 2, 2013 at 4:01 PM, Larry Martell
> > wrote:
> >>
> >>
> >>
> >> In the browser the response has this:
> >
port render
.
return render(request, "registration/register.html")
Basically, you need to make sure the template has the context created by
RequestContext, otherwise csrf_token will not be available as a variable on
the template.
Hope that helps,
Sanjay
>
> --
>
awesome :-)
-- it's a really nice "big picture" and introduction to the different
components that can be hard to visualize in one's head when just getting
started .. do you mind if I use it when introducing people to Django? (with
credit, of course:))
Thanks again!
-Sanjay
y, but if that seems interesting and you need any help /
clarification, let me know ..
-Sanjay
> Regards,
> Nigel Legg
> 07914 740972
> http://www.trevanianlegg.co.uk
> http://twitter.com/nigellegg
> http://uk.linkedin.com/in/nigellegg
>
>
>
> On 5 August 2013 07:48,
be
able to reproduce the error with the colleague and get back - if it helps,
I'm fairly certain it is windows-specific, of course, I cannot be sure
(same project with same code runs without problem on my ubuntu machine).
Please do post if you find a solution, of course :-)
thanks,
Sanjay
&
actly the use-case that it
facilitates .. I would strongly recommend reading up on XSendfile and
seeing if implementation is feasible, because it's really the best,
non-hacky way to do this ..
Any-how, all the best :-)
-Sanjay
--
You received this message because you are subscribed to the
Harjot,
It is enctype='multipart/form-data' and not encoding='multipart/form-data'
Hope that helps - all the best,
Sanjay
On Wed, Oct 16, 2013 at 10:11 AM, Harjot Mann wrote:
> On Mon, Oct 14, 2013 at 9:48 PM, Harjot Mann wrote:
>> I have not done anything special
e else may find this useful and then I could think about making
whatever solution I come up with more generalizable ..
Also, if there's a better place to discuss this, please let me know :)
Thanks,
Sanjay
--
You received this message because you are subscribed to the Google Groups
&quo
Hey Tom,
On Mon, Oct 21, 2013 at 1:50 PM, Tom Christie wrote:
> Hi Sanjay,
>
> I would take a look at these two repos:
>
> https://github.com/dmeehan/django-rest-framework-gis
> https://github.com/mjumbewu/django-rest-framework-gis
>
This is EXACTLY what I was looking for.
ith docs and everything.
I'll probably bug the people over at the Django Rest Framework mailing
list if I run into issues, but so far I found ways to do everything I
needed to do - just the GeoJSON serialization seemed awkward, but I
see there's a package for that, so I seem to be sorted.
ed,
etc. and finally render the template with something like:
from django.shortcuts import render
return render(request, "template_name.html", data)
Then in your template you can output like {{ author_name }}, {{
author_url }}, etc. as needed.
Hope that makes sense.
All the best,
Sanjay
ll. Have you done
a2enmod on the vhost file? Can you check if there is an entry /
symlink inside /etc/apache2/sites-enabled/ (post output of 'ls
/etc/apache2/sites-enabled'). Then, first need to figure out why the
conf files is not being read.
2> If the conf file is being read, you should
e, ping
me on chat (sanjayb on IRC/Freenode or my current email address on
google-chat) -- we can go over these things step by step and make sure
things are in order.
Cheers,
Sanjay
>
> There are no erros at the bluepearlhotel
>
>
> On Monday, August 11, 2014 4:52:11 PM UTC+1, San
especially the part about needing some arbitrary cut-off date
to prevent an infinite generation of EventDate entries ..
Please do share what you land up coming up with.
All the best.
-Sanjay
On Fri, Sep 19, 2014 at 6:13 PM, Stodge wrote:
> I have the following to model a calendar entry (recurr
ods on (like 'all', 'filter', etc.), but calling the manager directly
doesn't quite work, as you found out :)
All the best,
Sanjay
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group an
ten_words }}
>
This. And in the desciption() method, you want to do "return
self.description[0:20] and not print..." - print will just print the
output in the console at that point - you need to "return" the value
from the method.
So:
def shorten_words(self):
if len
s sense, otherwise just search for "django
ajax csrf token" or so and you should find quite a lot of examples
online :)
All the best.
-Sanjay
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe f
also based on my impressions from at least a year ago, so things may
have changed.
> Surely I'm not the first person that's had this need - can anyone
> offer tips on a good or better solution?
>
Haha, I thought I was some sort of crazy person for needing this a few
years ago
server and return an array.
So, your Collection definition would look something like:
var orgColl=Backbone.Collection.extend({
model: org,
urlRoot: 'api/orgnanization/',
initialize:function(){
this.fetch();
- AFAIK, this is only used when
generating full url permalinks, like in RSS feeds, etc.
HTH,
Sanjay
--
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 djan
On 11 Jun 2014 18:04, "Glen J" wrote:
> Sanjay,
> Thanks for the reply. I've tried accessing it various ways using both
> nginx and the included devserver on :8000. I've done both 127.0.0.1/admin
> and 127.0.0.1/admin/ with the same results. I can post the cont
ly, I doubt that's it.
> SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
>
> # A sample logging configuration. The only tangible logging
> # performed by this configuration is to send an email to
> # the site admins on every HTTP 500 error whe
ays (will let you read the docs to figure that out since I
haven't quite myself ;-) )
Hope this helps! select_related has gotten me out of many DB optimization
issues in the past and now I'll never ship code without carefully examining
where all using a `select_related` would significantly s
nyone
has any work-arounds to filter by area size of feature, and / or if there
are plans to support this in future versions.
Thank you all again for an amazing community and amazing piece of software
:-)
-Sanjay
--
You received this message because you are subscribed to the Google Groups
"
On Wed, Dec 21, 2016 at 10:08 PM, Tim Graham wrote:
> If you don't get an answer here, you can also ask on the geodjango list:
> https://groups.google.com/forum/#!forum/geodjango.
>
>
Will do. Thanks Tim, you're the best!
--
You received this message because you are subscribed to the Google Gro
o-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/700dcec5-bce9-4d9a-8011-27ae091722ce%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
WITH REGARDS
Sanjay Chandak
student of MNNIT, Allahabad
ECE Dep
else need to study?
Thanks
Sanjay
--
*WITH REGARDS*
*Sanjay Chandak*
*student of MNNIT, Allahabad*
*ECE Department*
--
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 i
could u please provide the basic books
--
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.
To post to this group, send ema
I was learning how to implement django cache framework in my simple web
application.
I've used postgresql database and i've created my_cache_table. I tried
using "per-view cache" technique but it doesn't work. No database entries
at my_cache_table have been created.
#settings.py
MIDDLEWARE_
lve
this, to, ideally, be able to have all the validation that pertains to
a particular model in one place, and be able to test all model
validations in a consistent manner.
Thank you to whoever read this far :-)
-Sanjay
--
You received this message because you are subscribed to the Google Groups
55, true); # assuming your sequence is
called content_id_seq and the highest id was 4555 .
If doing this individually for each table in the db seems a bit tedious,
you will find various scripts and solutions to automate the process a bit
more by searching for something like "postgres reset sequen
y fields.
Hope that helps,
Sanjay
On Mon, Oct 29, 2018 at 5:01 PM Web Architect wrote:
>
> Would also add that the server CPU usage was hitting 100% due to the template
> loading issue.
>
> On Monday, October 29, 2018 at 4:48:54 PM UTC+5:30, Web Architect wrote:
>>
>> Hi,
&
good evening, pls anyone help me in error out following command
notification got after runserver command
PS C:\Users\AARVIND\mycode\mysite> python manage.py runserver
Performing system checks...
Unhandled exception in thread started by .wrapper at 0x02AC3F60>
Traceback (most recent call last):
F
What modification to codes required, pls in project mysite/mysite/polls(app)
polls/views.py
from django.http import httpresponse
def index(request):
return httpresponse('Hello, world, You're at the polls index')
polls/urls.py
from django.urls import path
from . import views
urlpatterns = [
Normally u can use jquery date picker.
*Thanks & Regards,*
*Sanjay Singh**Senior Software Engineer*
*SRM Techsol Private Limited*
B-48, Sector-C, Aliganj Lucknow-226024
Phone : (+91) 522 2328654
Skype: sanjay1.singh_1
On Wed, Feb 24, 2021 at 4:03 PM neha bhurke wrote:
> Hello ,
>
django-storages has been updated that's why you are getting this error.
OLD SYNTAX
from storages.backends.s3boto3 import S3Boto3Storage
import os
class MediaStorage(S3Boto3Storage):
bucket_name = os.environ.get('AWS_STORAGE_BUCKET_NAME')
location = 'media'
class StaticStorage(S3Boto3St
68 matches
Mail list logo