Hello,
I hope this message finds you well. My name is Kabaki Antony, and I am a
passionate web developer with hands-on experience in Django. I’m reaching
out to express my interest in any available internship or entry-level
positions within the community, where I can contribute my skills
Can the first be done if there is a relation between the models?
On Sat, Jun 2, 2018 at 7:49 PM, Melvyn Sopacua
wrote:
> On zaterdag 2 juni 2018 15:12:08 CEST Albin Antony wrote:
> > For updating multiple models at the same time, Should we create multiple
> > instances?
>
age.
> 2 Validate as necessary
> 3 Update :
> for field, value in data.items():
> setattr(instance, field, value)
>
>instance.save()
>
> Assuming that instances is the Patient record to be updated.
>
> I hope this helps.
Hello guys,
Sorry about the above no subject mail
I am getting a json string(json_string) from frontend. How can we update
the django database in views.py. Below is my models.py.
models.py
class Patient(models.Model):
patient_id = models.CharField(primary_key=True, max_length=200)
patient
an/customer-web/django/example_project] antony
(socketio) $ python
/home/antony/virtualenvs/env1/lib/python2.7/site-packages/django
_socketio/example_project/manage.py runserver_socketio
SocketIOServer running on 127.0.0.1:9000
FAILED to start flash policy server: [Errno 13] Permission denied:
I'm trying to use formfield_for_foreignkey to filter the dropdown of a
ModelAdmin with Django 1.6 on Python 2.7.6, following
https://docs.djangoproject.com/en/1.6/ref/contrib/admin/
class CupAdmin(admin.ModelAdmin):
...
# hide inactive distributions
def formfield_for_foreignkey(self
Hi,
I have two databases on my settings file. One is sqlite and the other is
postgis. It is a big project so some developers use sqllite and a few are
using postgis.
Now, when I try ./manage.py test command, I get the following,
-
Hi,
I am simply trying the following,
outerWallPolygon = SpatialFeatures.objects.all()
print "outerWallPolygon: ",outerWallPolygon[0].geometry
and get this error.
cannot set GeometryProxy with value of type:
I believe I have everything set up correctly, the Geomanager, the GIS
libraries in my
n
> app, you must also install a library that bridges Python and the
> database.
>
> (I apologize in advance if you've already done so).
>
> ---Peter
>
> On 11/17/08, Karen Tracey <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Mon, Nov 17, 2008 at 3:13 AM,
", ".join(map(repr,
available_backends)), e_user)
django.core.exceptions.ImproperlyConfigured: 'MySQL' isn't an
available database
backend. Available options are: 'dummy', 'mysql', 'oracle',
'postgresql', 'post
gresql_psycopg2
> then, when i create an app or a project, i do this instead:
>
> python C:\Python25\Lib\site-packages\django\bin\django-
> admin.py startproject djangoapps
>
> On Nov 12, 7:40 pm, John Antony <[EMAIL PROTECTED]> wrote:
>
>
>
> > I have now used all your su
o-admin.py' is not recognized as an internal or external
command,
operable program or batch file.
what sholud i do now
On Nov 11, 6:19 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Tue, Nov 11, 2008 at 1:40 AM, John Antony <[EMAIL PROTECTED]> wrote
I am currently using Vista OS
I have installed Python in the path
D:\Python26\
and extracted the tarred file downloaded from www.djangoprojects.com
ie "Django-1.0.tar.gz" in the path
D:\Python26\Django-1.0\Django-1.0
I am however unable to intall Django
on typing the following command in command p
13 matches
Mail list logo