My API gets deployed but when I check the endpoints of the URL then it's
showing an error that tables are missing even after running the Heroku
migrations also.
I am using the default SQLite db of Django.
--
You received this message because you are subscribed to the Google Groups
"Django user
Yes @ babtunde I'm referring to postman Api
On Sep 13, 2019 14:50, "Babatunde Akinyanmi" wrote:
> Are you talking of this postman api?
> https://docs.api.getpostman.com/?version=latest
>
> On Thu, 12 Sep 2019, 14:31 Tosin Ayoola, wrote:
>
>> Halo
>> Good day sorry I wan work on a airline ticke
Are you talking of this postman api?
https://docs.api.getpostman.com/?version=latest
On Thu, 12 Sep 2019, 14:31 Tosin Ayoola, wrote:
> Halo
> Good day sorry I wan work on a airline tickets reservations project using
> postman Api, but I've never used that before and can't seem to find any
> res
Check YouTube videos You'll find tutorials on it.
On Thu, Sep 12, 2019, 2:31 PM Tosin Ayoola Halo
> Good day sorry I wan work on a airline tickets reservations project using
> postman Api, but I've never used that before and can't seem to find any
> resourceful material online, can anyone be
Halo
Good day sorry I wan work on a airline tickets reservations project using
postman Api, but I've never used that before and can't seem to find any
resourceful material online, can anyone be kind enough to help me out.
Thanks
--
You received this message because you are subscribed to the Goog
Hi all, I use Django mostly and recently started working with APIs, I am
trying to use the cat API
https://cataas.com/ and get cats by tag like cute, brown ... from within
Django but I seem to be getting errors even when I try with postman testing
tool, as well as after authenticating with my
how to break a problem
down into parts and solve them. when you get stuck, ask a specific
question about this thing, rather than a general 'show me how to do this'
request.
In addition, a simple google search for "django api tutorial" returns
thousands of quality results, includ
t;> bau...@djangogirls.org> wrote:
>>
>>> Hello
>>> Response pls
>>>
>>> On Tue, Jun 5, 2018, 10:46 PM Django Girls Bauchi <
>>> bau...@djangogirls.org> wrote:
>>>
>>>> Holla
>>>> Wants to cr
Girls Bauchi
>> wrote:
>>
>>> Holla
>>> Wants to create a simple django api, that send specific data(using
>>> postman) and receive response. Yeah its simple, but simple tend hard on me
>>> this days, anyone to help out, urgently.
>>>
>&
jango Girls Bauchi
>> wrote:
>> Hello
>> Response pls
>>
>>> On Tue, Jun 5, 2018, 10:46 PM Django Girls Bauchi
>>> wrote:
>>> Holla
>>> Wants to create a simple django api, that send specific data(using postman)
>>> and recei
Wants to create a simple django api, that accept specific data(using
postman) and send response. Yeah its simple, but simple tend hard on me
this days, anyone to help out, urgently.
On Wed, Jun 6, 2018, 3:26 AM Dylan Reinhold wrote:
> What is your specific question.
>
> On Tue, Jun 5
mailto:bau...@djangogirls.org>> wrote:
Holla
Wants to create a simple django api, that send specific data(using
postman) and receive response. Yeah its simple, but simple tend
hard on me this days, anyone to help out, urgently.
Thanks
--
You received this message because you are s
What is your specific question.
On Tue, Jun 5, 2018 at 6:35 PM, Django Girls Bauchi
wrote:
> Hello
> Response pls
>
> On Tue, Jun 5, 2018, 10:46 PM Django Girls Bauchi
> wrote:
>
>> Holla
>> Wants to create a simple django api, that send specific data(using
&g
Hello
Response pls
On Tue, Jun 5, 2018, 10:46 PM Django Girls Bauchi
wrote:
> Holla
> Wants to create a simple django api, that send specific data(using
> postman) and receive response. Yeah its simple, but simple tend hard on me
> this days, anyone to help out, urgently.
>
>
Holla
Wants to create a simple django api, that send specific data(using postman)
and receive response. Yeah its simple, but simple tend hard on me this
days, anyone to help out, urgently.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users&q
Hi,
Le 2018-01-29 à 22:31, cherngyo...@gmail.com a écrit :
{"patientId":["This field is required."]}.
This is a generic form validation error. I suspect the problem is with
the following code:
|classBookApptSerializer(serializers.ModelSerializer):patientId
=MyUserSerializer(many=False)|
aving a heck of a time and we can't figure out if the
> issue is something set up on the server or on my front end code. I'm hoping
> that the issue might be obvious to someone here.
>
> First of all, you can access the Django API code in the repository code
> here
That's really interesting. Hmm...
Thanks for the feedback.
On Sat, May 21, 2016 at 9:03 AM, Michal Petrucha <
michal.petru...@konk.org> wrote:
> On Sat, May 21, 2016 at 08:55:04AM -0700, Chris Troutner wrote:
> > Yep, no luck. I got the cookie plugin integrated, but it didn't make any
> > di
On Sat, May 21, 2016 at 08:55:04AM -0700, Chris Troutner wrote:
> Yep, no luck. I got the cookie plugin integrated, but it didn't make any
> difference. The problem isn't with the *retrieval* of the CSRF token, it's
> with the *submission*.
>
> If you bring up this code:
> https://github.com/chris
Yep, no luck. I got the cookie plugin integrated, but it didn't make any
difference. The problem isn't with the *retrieval* of the CSRF token, it's
with the *submission*.
If you bring up this code:
https://github.com/christroutner/rpiovn/blob/unstable/public/js/app/views/NRPUsersView.js
And scrol
I was logged in yes, but I also noticed that when I tried to get the cookie
from the CMS side, it would retrieve a different CSRF token, as though I
wasn't logged in. Hence the copy and paste I showed in the video.
I'm trying to get this cookie plugin integrated into my code. Maybe it will
have be
Chris, I understood you were logged into the django system when you tried
these posts. Correct? I thought that would cover authentication thru DRF.
But I am also a noob to Javascript client post -> DRF server.
--
You received this message because you are subscribed to the Google Groups
"Django
I linked to that page in the original posting. That page describes what
we're trying to do, but there seems to be a disconnect between what is
specified and what is actually happening. As near as I can tell, I have
satisfied the CSRF requirements documented on that page, but I still can't
seem
interface for creating new users,
> which requires the passing of a CSRF token for authentication. I'm having a
> heck of a time and we can't figure out if the issue is something set up on
> the server or on my front end code. I'm hoping that the issue might be
&
gt; authentication. I'm having a heck of a time and we can't figure out if the
>> issue is something set up on the server or on my front end code. I'm hoping
>> that the issue might be obvious to someone here.
>>
>> First of all, you can access the Django A
'm having a heck of a time and we can't figure out if the
> issue is something set up on the server or on my front end code. I'm hoping
> that the issue might be obvious to someone here.
>
> First of all, you can access the Django API code in the repository code
> here:
y front end code. I'm hoping that the issue
might be obvious to someone here.
First of all, you can access the Django API code in the repository code
here:
https://github.com/valnet/valuenetwork/tree/master/valuenetwork/api
My front end code is written in JavaScript can be viewed in it&
Hi Carl,
> I don't quite understand why the situation you describe requires
> duplicating models files. Is the canonical data storage now in Project B
> instead of Project A, and Project A gets the data via Project B's REST
> API? In that case, why does Project A need those models anymore?
Hi James,
I'm going to build a separated instance to provide only REST services to be
consumed by Project A. It's ok to use the same views to provide a REST
interface in API but in this case I need to remove models from project A,
right?
Thank you very much!
Em domingo, 16 de agosto de 2015 2
Hi Julio,
On 08/16/2015 04:59 PM, julio.lace...@m2agro.com.br wrote:
> I created a project using Django (let's call this Project A) and now I
> decided to start a new one but this time it is an API using Django REST.
> So, for now I have to refactor Project A to consume data from API, but
> in ord
Are you adding REST functionality to an existing project? Or will you be
using a separate instance to provide only REST services and maintain two
different code bases?
I believe you can use the django-rest-framework to utilize the same views
(literally) to provide a REST interface, so you may not
Hey guys,
I have a question about an architectural issue and I would like to hear
some suggestions about it.
I created a project using Django (let's call this Project A) and now I
decided to start a new one but this time it is an API using Django REST.
So, for now I have to refactor Project A
Yeah, I just resolved that issue. And yes, I messed up my DB setup.
It works now. I didn't set it up properly for sqllite.
On Aug 26, 3:06 pm, Jirka Vejrazka wrote:
> Hi there,
>
> your database is not set up properly - are you sure you went through
> the "database setup" section of the tutor
Hi there,
your database is not set up properly - are you sure you went through
the "database setup" section of the tutorial?
HTH
Jirka
--
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
Hi all,
This is my issue:
After I installed Django and got it somewhat working, I started down
this tutorial: https://docs.djangoproject.com/en/dev/intro/tutorial01/
All was going well until I hit the part called "Playing with the API".
I'm doing this in Windows 7 Enterprise.
C:\Users\foobar\
On Tue, Jul 12, 2011 at 10:23 AM, Jonas Geiregat wrote:
> Hello,
>
> I really love django's documentation. It covers a lot of ground and is really
> well written.
> I do have one problem with it. It might be best explained with an example.
>
> I want to see all methods and properties of the reque
On 12.07.2011 11:23, Jonas Geiregat wrote:
> Hello,
>
> I really love django's documentation. It covers a lot of ground and is really
> well written.
> I do have one problem with it. It might be best explained with an example.
>
> I want to see all methods and properties of the request parame
Hello,
I really love django's documentation. It covers a lot of ground and is really
well written.
I do have one problem with it. It might be best explained with an example.
I want to see all methods and properties of the request parameter in the view.
Search the docs for "request" doesn't hel
Thanks Thomas :)
On Tue, Feb 15, 2011 at 11:16 AM, Thomas Weholt wrote:
> FYI: release version 0.5.0 of DSE yesterday. Source is available at
> https://bitbucket.org/weholt/dse and pypi.
>
> Regards,
> Thomas Weholt
>
> On Tue, Feb 15, 2011 at 10:10 AM, Sithembewena Lloyd Dube
> wrote:
> > Hi Ev
FYI: release version 0.5.0 of DSE yesterday. Source is available at
https://bitbucket.org/weholt/dse and pypi.
Regards,
Thomas Weholt
On Tue, Feb 15, 2011 at 10:10 AM, Sithembewena Lloyd Dube
wrote:
> Hi Everyone,
>
> Coming back weeks later, to say thank you for your contributions. I got
> quit
Hi Everyone,
Coming back weeks later, to say thank you for your contributions. I got
quite sidetracked from this task, but I should report back on this soon.
Thank you!
On Wed, Jan 19, 2011 at 10:05 AM, Thomas Weholt wrote:
> Bulk inserts are the way the go if you can. When inserting a bunch of
Bulk inserts are the way the go if you can. When inserting a bunch of
data, avoid using the django orm. Do it in plain SQL. The overhead of
creating django orm model instances is way too expensive. Alltough it
may not be bulk insert the sense Nick mentioned above I wrote DSE [
http://pypi.python.or
On Tue, Jan 18, 2011 at 12:04 PM, Sithembewena Lloyd Dube wrote:
> Hi all,
>
> I am building a search app. that will query an API. The app. will also
> store search terms in a very simple table structure.
>
> Big question: if the app. eventually hit 10 million searches and I was
> storing every s
On Wed, Jan 19, 2011 at 4:04 AM, Sithembewena Lloyd Dube
wrote:
> Hi all,
>
> I am building a search app. that will query an API. The app. will also store
> search terms in a very simple table structure.
>
> Big question: if the app. eventually hit 10 million searches and I was
> storing every sin
Hi all,
I am building a search app. that will query an API. The app. will also store
search terms in a very simple table structure.
Big question: if the app. eventually hit 10 million searches and I was
storing every single search term, would the table hold or would I run into
issues?
Also, is i
On Sun, Sep 13, 2009 at 9:07 PM, W.P. McNeill wrote:
> the web, but this seems error prone. The right way to do it would
> seem to be to use the slugify code that is already in Django.
> What is the best way to slugify an arbitrary string using a Python
> call?
from django.template.defaultfil
fact
that I can find lots of Django snippets online in which people are
rolling their own slugify function makes me think that this function
is not part of the Django API.
What is the best way to slugify an arbitrary string using a Python
call?
--~--~-~--~~~---~--~
Thanks, this is a very interesting way. I will give a try.
Cheers,
Alan
On Mon, Dec 29, 2008 at 04:48, join.toget...@gmail.com <
join.toget...@gmail.com> wrote:
>
> In your model definition, you can specify choices for each field.
> http://docs.djangoproject.com/en/dev/topics/db/models/#field-op
In your model definition, you can specify choices for each field.
http://docs.djangoproject.com/en/dev/topics/db/models/#field-options
Create a list of (DB value, display value) tuples containing all the
choices, then set the field's "choices" option to that list.
Later, when you have your model
Hi List, Merry Xmas!
In my mysql db, I have this table (ccpngrid_gridjob), created from a model
GridJob:
| juser | jname | title | fileName | jdate | jobdir | jstatus | jpid | jiter
| round |
where my pk is jobdir.
I would like to know how to convert, if possible, the sql command below to a
dja
After looking into that for a while, I can't seem to understand what
works and what not...
** From the file README within the project's checkout:
The helper provides the following functionality:
* The ability to use most manage.py commands
* A BaseModel class that appears the same as the sta
Here's a project being developed by Google. Guido is even involved:
http://code.google.com/p/google-app-engine-django/
On Apr 12, 5:58 am, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
> Great stuff, man!
>
> I'll try to have an in-depth look this weekend and I'll se if I can help
> with anything.
>
Great stuff, man!
I'll try to have an in-depth look this weekend and I'll se if I can help
with anything.
This seems like a nice solution, until someone pokes up a proper backend
(stating that I'm not sure if that's possible, bearing in mind that
GAE's datastore is not a RDBM).
~ Chris
El vie,
Hi,
I'm working on an interface adapter for Google App Engine's datastore.
I've just started out and have created a project for it here with some
basic code - http://code.google.com/p/django-gae-helpers/
The intro page has an explanation of what I'm trying to do -
http://code.google.com/p/django
On Dec 24, 2007 11:37 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I am relatively new to Django and Python programming. Is there an API
> documents in Django similar to JavaDoc? When I do programming in
> Java, I can easily look up the JavaDoc to figure out method arguments
> etc. I checke
Hi,
I am relatively new to Django and Python programming. Is there an API
documents in Django similar to JavaDoc? When I do programming in
Java, I can easily look up the JavaDoc to figure out method arguments
etc. I checked the doc folder of the downloaded Django package, but
found no such API d
On Tue, 2007-11-20 at 05:12 -0800, cesco wrote:
> Thanks for the reply.
> I'm actually trying to match a word boundary with "\\b" before and
> after the string, not a backspace. Still one thing is unclear to me:
> isn't the django API supposed to be portable acros
On Nov 20, 2007 7:12 AM, cesco <[EMAIL PROTECTED]> wrote:
...
> isn't the django API supposed to be portable across different database
> platforms? Does iregex make an exception because of SQLite lack of reg-
> exp support?
It tries, but isn't heroic. The options for t
Thanks for the reply.
I'm actually trying to match a word boundary with "\\b" before and
after the string, not a backspace. Still one thing is unclear to me:
isn't the django API supposed to be portable across different database
platforms? Does iregex make an exception becau
On Mon, 2007-11-19 at 13:59 -0800, cesco wrote:
> Sorry for the imprecise description of the problem.
>
> After some filtering statements (which I don't show here) I derive a
> qs containing about 1000 objects.
> With the following statement I try to filter the query further
> new_qs = qs.filter
Sorry for the imprecise description of the problem.
After some filtering statements (which I don't show here) I derive a
qs containing about 1000 objects.
With the following statement I try to filter the query further
new_qs = qs.filter(models.Q(myField__iregex="\\b%s\\b" % myString)
and new_qs c
On Sun, 2007-11-18 at 12:46 -0800, cesco wrote:
> Hi,
>
> I have the following query which works perfectly with sqlite3:
>
> from django.db import models
> qs.filter(models.Q(myField__iregex="\\b%s\\b" % myString)
>
> In the production server, where I'm running postgresql the exact same
> quer
Hi,
I have the following query which works perfectly with sqlite3:
from django.db import models
qs.filter(models.Q(myField__iregex="\\b%s\\b" % myString)
In the production server, where I'm running postgresql the exact same
query is not working.
Do you have any idea why this happens? Maybe a bu
Adrian Holovaty wrote:
> Nicely done! I think for the final product we'd want Wilson's loving
> design touches. Also, this does a good job of pointing out the areas
> in which we need to add docstrings.
this will not be fun for wilson ;) the html code really sucks at some
parts. i had some more
Adrian Holovaty wrote:
>
> Nicely done! I think for the final product we'd want Wilson's loving
> design touches. Also, this does a good job of pointing out the areas
> in which we need to add docstrings.
+1 on Wilson --- the man can make everything look better.
+1 on adding it to main Django si
On 3/22/06, Daniel Poelzleithner <[EMAIL PROTECTED]> wrote:
> i created a css to build a django styled API doc with epydoc.
>
> http://djangoapi.quamquam.org/ Beta Version :)
>
> I hope we can integrate it as http://api.djangoproject.com someday.
Nicely done! I think for the final product we'd wa
Very useful. Thanks.
On Mar 23, 2006, at 4:28 AM, Daniel Poelzleithner wrote:
>
> Hi,
>
> i created a css to build a django styled API doc with epydoc.
>
> http://djangoapi.quamquam.org/ Beta Version :)
>
> I hope we can integrate it as http://api.djangoproject.com someday.
>
> kindly regards
>
Daniel, this is terrific work!, I definitely agree with John that you
should file this into trac. I can see it saving people a mountain of
time!
Cheers,
Tone
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
On 3/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> This is excellent.
Concur; neat.
--~--~-~--~~~---~--~~
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@g
This is excellent. You should file a bug in trac to integrate it at
http://api.djangoproject.com. I like how you have edited the css to fit
in with the djangoproject site.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
Hi,
i created a css to build a django styled API doc with epydoc.
http://djangoapi.quamquam.org/ Beta Version :)
I hope we can integrate it as http://api.djangoproject.com someday.
kindly regards
daniel
--~--~-~--~~~---~--~~
You received this message becaus
On 2/16/06, Brett Hoerner <[EMAIL PROTECTED]> wrote:
---class Tag(meta.Model): person = meta.ManyToManyField(Person, blank=True, null=True)This is what I meant about the bidirectional query problem - in 0.91/trunk ManyToMany fields can only be traversed in the direction they are defined - in this
I've tried:
people.get_list(lat__gte=minlat, lon__gte=minlon, lat__lte=maxlat,
lon__lte=maxlon, tags__value__exact='django')
TypeError: got unexpected keyword argument 'tags__value__exact'
And:
people.get_list(lat__gte=minlat, lon__gte=minlon, lat__lte=maxlat,
lon__lte=maxlon, tag__value__exac
On 2/16/06, Brett Hoerner <[EMAIL PROTECTED]> wrote:
Not sure if anyone will see this now that it's off the front page, butheres what I've gathered so far:Sorry - I meant to answer this one yesterday, but I got distracted.
I don't think the Django DB API can handle many2many stuff (at leastright no
Not sure if anyone will see this now that it's off the front page, but
heres what I've gathered so far:
I don't think the Django DB API can handle many2many stuff (at least
right now)
As for question 2, apparently you _can_ import a model in itself, so
problem solved.
Thanks to bitprophet on IRC
and p.lat <= %s
and p.lon <= %s
order by p.id""" % (request_tag, minlat, minlon, maxlat,
maxlon))
r = c.fetchall()
c.close()
I'd just like to figure out the Django API equivalent (if there is one)
to do something like this.
I was thinking, like
76 matches
Mail list logo