workspace
stringclasses 1
value | channel
stringclasses 1
value | sentences
stringlengths 1
3.93k
| ts
stringlengths 26
26
| user
stringlengths 2
11
| sentence_id
stringlengths 44
53
| timestamp
float64 1.5B
1.56B
| __index_level_0__
int64 0
106k
|
---|---|---|---|---|---|---|---|
pythondev | help | I bet you'll find something strange right away if you log | 2017-06-20T15:17:38.510092 | Suellen | pythondev_help_Suellen_2017-06-20T15:17:38.510092 | 1,497,971,858.510092 | 82,503 |
pythondev | help | <@Britta> Back ticks (above the tab key on the US/ISO keyboard):
```
def client_registration(request):
form = ClientForm(data=<http://request.POST|request.POST> or None)
userform = UserForm(data=<http://request.POST|request.POST> or None)
all_fintessclubs = Fitnessclub.objects.filter(is_active=True)
competitions = Competition.objects.filter(is_active=True)
if <http://request.POST|request.POST> and form.is_valid() and userform.is_valid():
userpost = userform.save()
post = form.save(commit=False)
upload_images = ['client_avatar' or 'image_portrait' or 'image_profile' or 'image_back']
for image in upload_images:
try:
post.image = request.FILES['%s'] % image
except KeyError:
pass
post.user = userpost
post.save()
``` | 2017-06-20T15:18:15.522564 | Beula | pythondev_help_Beula_2017-06-20T15:18:15.522564 | 1,497,971,895.522564 | 82,504 |
pythondev | help | I understand your idea, thank you! | 2017-06-20T15:18:15.522778 | Britta | pythondev_help_Britta_2017-06-20T15:18:15.522778 | 1,497,971,895.522778 | 82,505 |
pythondev | help | sorry, ok :slightly_smiling_face: | 2017-06-20T15:20:09.561662 | Britta | pythondev_help_Britta_2017-06-20T15:20:09.561662 | 1,497,972,009.561662 | 82,506 |
pythondev | help | One thing you're doing is changing the value of `post.image` each iteration of that loop | 2017-06-20T16:58:06.658897 | Patty | pythondev_help_Patty_2017-06-20T16:58:06.658897 | 1,497,977,886.658897 | 82,507 |
pythondev | help | Is it `pass`ing each loop? Do any of those keys exist in `request.files`? | 2017-06-20T17:00:28.710541 | Patty | pythondev_help_Patty_2017-06-20T17:00:28.710541 | 1,497,978,028.710541 | 82,508 |
pythondev | help | <@Britta> ^ | 2017-06-20T17:05:05.807608 | Patty | pythondev_help_Patty_2017-06-20T17:05:05.807608 | 1,497,978,305.807608 | 82,509 |
pythondev | help | you can add those file fields on your form <@Britta>. Then you can pas the `request.FILES` to the form constructor and it handles that for you. | 2017-06-20T17:17:14.044706 | Mariano | pythondev_help_Mariano_2017-06-20T17:17:14.044706 | 1,497,979,034.044706 | 82,510 |
pythondev | help | Anyone know if this is the right shorthand for a one liner? `featured_image=(n == selectedImageIndex)` | 2017-06-20T17:51:17.644296 | Temika | pythondev_help_Temika_2017-06-20T17:51:17.644296 | 1,497,981,077.644296 | 82,511 |
pythondev | help | n is from `enumerate` and would be `0` `1` `2`, etc. `selectedImageIndex` would be `1` in this case. | 2017-06-20T17:51:29.647606 | Temika | pythondev_help_Temika_2017-06-20T17:51:29.647606 | 1,497,981,089.647606 | 82,512 |
pythondev | help | Python doesn’t moan but it doesn’t seem to be working | 2017-06-20T17:51:42.651158 | Temika | pythondev_help_Temika_2017-06-20T17:51:42.651158 | 1,497,981,102.651158 | 82,513 |
pythondev | help | Is this the right channel to post novice Python questions? | 2017-06-20T17:59:34.778671 | Annalee | pythondev_help_Annalee_2017-06-20T17:59:34.778671 | 1,497,981,574.778671 | 82,514 |
pythondev | help | Sure | 2017-06-20T17:59:43.781371 | Temika | pythondev_help_Temika_2017-06-20T17:59:43.781371 | 1,497,981,583.781371 | 82,515 |
pythondev | help | Ok, cool.
I’m trying to learn more about `super()`
Here’s a code snippet I’ve written:
```
class MyList(list):
def __len__(self):
print("calculating the total number of items in the list")
super(MyList, self).__len__()
```
And when I instantiate `MyList` I get the following error:
`TypeError: an integer is required`
what am I doing wrong? | 2017-06-20T18:01:08.805842 | Annalee | pythondev_help_Annalee_2017-06-20T18:01:08.805842 | 1,497,981,668.805842 | 82,516 |
pythondev | help | - `super(MyList, self).__len__()` | 2017-06-20T18:04:29.858089 | Suellen | pythondev_help_Suellen_2017-06-20T18:04:29.858089 | 1,497,981,869.858089 | 82,517 |
pythondev | help | + `return super(MyList, self).__len__()` | 2017-06-20T18:04:34.859461 | Suellen | pythondev_help_Suellen_2017-06-20T18:04:34.859461 | 1,497,981,874.859461 | 82,518 |
pythondev | help | actually, what Python version are you targeting? | 2017-06-20T18:05:07.867790 | Suellen | pythondev_help_Suellen_2017-06-20T18:05:07.867790 | 1,497,981,907.86779 | 82,519 |
pythondev | help | `return super().__len__()` is much nicer :slightly_smiling_face: | 2017-06-20T18:05:42.876732 | Suellen | pythondev_help_Suellen_2017-06-20T18:05:42.876732 | 1,497,981,942.876732 | 82,520 |
pythondev | help | Instantiating in Python 3 with that code would be fine I think? But trying to do `x = MyList()` `x.len()` would return `AttributeError: 'MyList' object has no attribute 'len'` | 2017-06-20T18:06:03.881929 | Temika | pythondev_help_Temika_2017-06-20T18:06:03.881929 | 1,497,981,963.881929 | 82,521 |
pythondev | help | I’m using Python 2.7.x | 2017-06-20T18:06:20.886147 | Annalee | pythondev_help_Annalee_2017-06-20T18:06:20.886147 | 1,497,981,980.886147 | 82,522 |
pythondev | help | ... come to think of it, if you don't do any processing at all, you can just skip this method | 2017-06-20T18:06:31.889176 | Suellen | pythondev_help_Suellen_2017-06-20T18:06:31.889176 | 1,497,981,991.889176 | 82,523 |
pythondev | help | if you don't implement it yourself, an original one will be used from `list` | 2017-06-20T18:06:44.892362 | Suellen | pythondev_help_Suellen_2017-06-20T18:06:44.892362 | 1,497,982,004.892362 | 82,524 |
pythondev | help | well I’m just practicing with `super`. Let’s say I want to log or print before `__len()__` is executed | 2017-06-20T18:07:23.902061 | Annalee | pythondev_help_Annalee_2017-06-20T18:07:23.902061 | 1,497,982,043.902061 | 82,525 |
pythondev | help | ok why do I have to use `return`? | 2017-06-20T18:08:19.915939 | Annalee | pythondev_help_Annalee_2017-06-20T18:08:19.915939 | 1,497,982,099.915939 | 82,526 |
pythondev | help | You’re saying return the result of my parent classes `len` method. | 2017-06-20T18:10:03.941253 | Temika | pythondev_help_Temika_2017-06-20T18:10:03.941253 | 1,497,982,203.941253 | 82,527 |
pythondev | help | ok so I did this as well but no return was necessary:
```
class MyDict(dict):
def __setitem__(self, key, value):
print("adding key: {} and value: {}".format(key, value))
super(MyDict, self).__setitem__(key, value)
def __getattr__(self, key):
if key not in self:
return 'key not recognized'
else:
return self[key]
``` | 2017-06-20T18:11:41.964742 | Annalee | pythondev_help_Annalee_2017-06-20T18:11:41.964742 | 1,497,982,301.964742 | 82,528 |
pythondev | help | `setitem` doesn't return anything useful | 2017-06-20T18:12:18.973465 | Suellen | pythondev_help_Suellen_2017-06-20T18:12:18.973465 | 1,497,982,338.973465 | 82,529 |
pythondev | help | and there is a return statement in your `getattr` :)) | 2017-06-20T18:12:29.976064 | Suellen | pythondev_help_Suellen_2017-06-20T18:12:29.976064 | 1,497,982,349.976064 | 82,530 |
pythondev | help | ah I see | 2017-06-20T18:15:32.019286 | Annalee | pythondev_help_Annalee_2017-06-20T18:15:32.019286 | 1,497,982,532.019286 | 82,531 |
pythondev | help | What is the best way to convert a list to a dict? The only thing is I want to specify my keys from outside the list. So the list is basically the values of the dict and I will provide the keys separately. | 2017-06-20T18:26:48.172952 | Simon | pythondev_help_Simon_2017-06-20T18:26:48.172952 | 1,497,983,208.172952 | 82,532 |
pythondev | help | ```
>>> values = ['one', 'two', 'three']
>>> keys = [1, 2, 3]
>>> d = dict(zip(keys, values))
>>> d
{1: 'one', 2: 'two', 3: 'three'}
``` | 2017-06-20T18:27:49.186401 | Suellen | pythondev_help_Suellen_2017-06-20T18:27:49.186401 | 1,497,983,269.186401 | 82,533 |
pythondev | help | Perfect exactly what I was looking for. | 2017-06-20T18:30:31.222201 | Simon | pythondev_help_Simon_2017-06-20T18:30:31.222201 | 1,497,983,431.222201 | 82,534 |
pythondev | help | Hey guys, I'm new to deploying django applications and I've been fighting an issue for two days now, could anyone help me with this? <https://stackoverflow.com/questions/44666555/django-wsgi-no-module-named-site> I just posted a question in stack overflow and I'm completely stuck at the moment | 2017-06-21T00:03:17.142439 | Blossom | pythondev_help_Blossom_2017-06-21T00:03:17.142439 | 1,498,003,397.142439 | 82,535 |
pythondev | help | <@Blossom> I think you have a type-o in your question:
```
activate_this = os.path.join( PROJECT_DIR, 'env/shinra/bin', 'activate_this.py'$
```
The `$` is invalid and would cause a syntax error | 2017-06-21T00:04:46.153047 | Beula | pythondev_help_Beula_2017-06-21T00:04:46.153047 | 1,498,003,486.153047 | 82,536 |
pythondev | help | oh yeah let me edit that, thanks! | 2017-06-21T00:05:57.161985 | Blossom | pythondev_help_Blossom_2017-06-21T00:05:57.161985 | 1,498,003,557.161985 | 82,537 |
pythondev | help | Otherwise, some questions:
1. Where are you running the `python3 -i ...wsgi.py` command from? The app may not be in your PYTHONPATH
2. Why are you not using uwsgi or gunicorn to serve the app, vs trying to run it directly? | 2017-06-21T00:06:20.164867 | Beula | pythondev_help_Beula_2017-06-21T00:06:20.164867 | 1,498,003,580.164867 | 82,538 |
pythondev | help | ive tried running it from both /var/www/shinra/ and var/www/shinra/shinra | 2017-06-21T00:07:29.173192 | Blossom | pythondev_help_Blossom_2017-06-21T00:07:29.173192 | 1,498,003,649.173192 | 82,539 |
pythondev | help | I ran it with uwsgi and gunicorn both and was able to get them both to serve the app (without the static files) but I was never able to configure either apache or nginx correctly for my EC2 instance | 2017-06-21T00:08:19.179039 | Blossom | pythondev_help_Blossom_2017-06-21T00:08:19.179039 | 1,498,003,699.179039 | 82,540 |
pythondev | help | And the tutorials to configure either of those are old | 2017-06-21T00:08:34.180925 | Blossom | pythondev_help_Blossom_2017-06-21T00:08:34.180925 | 1,498,003,714.180925 | 82,541 |
pythondev | help | If you're at all familiar with ansible, here is how I have my recent Django app served from gunicorn | 2017-06-21T00:14:12.219848 | Beula | pythondev_help_Beula_2017-06-21T00:14:12.219848 | 1,498,004,052.219848 | 82,542 |
pythondev | help | <https://github.com/mrasband/ansible/blob/master/ottter.yml> | 2017-06-21T00:14:15.220278 | Beula | pythondev_help_Beula_2017-06-21T00:14:15.220278 | 1,498,004,055.220278 | 82,543 |
pythondev | help | Oh no idea, but the line exec_start seems to be what I ran when I tried with gunicorn and that worked perfectly so being able to run that as a bash or something would be great | 2017-06-21T00:16:37.236044 | Blossom | pythondev_help_Blossom_2017-06-21T00:16:37.236044 | 1,498,004,197.236044 | 82,544 |
pythondev | help | My question there would be, is it ok to run the gunicorn command to start serving the app, store that command to run on server start and just use nginx to feed my static files? | 2017-06-21T00:17:11.239657 | Blossom | pythondev_help_Blossom_2017-06-21T00:17:11.239657 | 1,498,004,231.239657 | 82,545 |
pythondev | help | But now that I remember I couldn't do both at the same time, I could only run gunicorn when nginx was stopped and viceversa | 2017-06-21T00:17:59.245220 | Blossom | pythondev_help_Blossom_2017-06-21T00:17:59.245220 | 1,498,004,279.24522 | 82,546 |
pythondev | help | I'll do everything again from scratch and see if I manage to work around it now with gunicorn and nginx | 2017-06-21T00:21:23.268844 | Blossom | pythondev_help_Blossom_2017-06-21T00:21:23.268844 | 1,498,004,483.268844 | 82,547 |
pythondev | help | Sounds like you're competing for ports and running into collisions. Nginx should handle 443 and 80, and forward to the "upstream" port (if using gunicorn) used by gunicorn (the `-b` flag can set this) | 2017-06-21T00:26:18.301718 | Beula | pythondev_help_Beula_2017-06-21T00:26:18.301718 | 1,498,004,778.301718 | 82,548 |
pythondev | help | With Django it's also pretty much required to use nginx (or another webserver) to serve the static files (created via `./manage.py collectstatic`) | 2017-06-21T00:27:23.308714 | Beula | pythondev_help_Beula_2017-06-21T00:27:23.308714 | 1,498,004,843.308714 | 82,549 |
pythondev | help | yeah I thought as much, so I began from scratch and was able to put my app up using `gunicorn --workers 3 --bind 0.0.0.0:8000 shinra.wsgi` | 2017-06-21T00:31:28.336652 | Blossom | pythondev_help_Blossom_2017-06-21T00:31:28.336652 | 1,498,005,088.336652 | 82,550 |
pythondev | help | now, having that, do you have any resource I could use (that could work with either 1.10 or 1.11 and python 3) for setting that up with nginx? | 2017-06-21T00:32:09.341443 | Blossom | pythondev_help_Blossom_2017-06-21T00:32:09.341443 | 1,498,005,129.341443 | 82,551 |
pythondev | help | ah.. here is where I got stuck | 2017-06-21T00:46:41.439287 | Blossom | pythondev_help_Blossom_2017-06-21T00:46:41.439287 | 1,498,006,001.439287 | 82,552 |
pythondev | help | <https://pastebin.com/r8MrQAPi> | 2017-06-21T00:46:42.439413 | Blossom | pythondev_help_Blossom_2017-06-21T00:46:42.439413 | 1,498,006,002.439413 | 82,553 |
pythondev | help | Thats my bash script, I never got it to work haha | 2017-06-21T00:46:52.440501 | Blossom | pythondev_help_Blossom_2017-06-21T00:46:52.440501 | 1,498,006,012.440501 | 82,554 |
pythondev | help | Does anyone know how make gunicorn use the python from my virtual environment? for example: `/home/ubuntu/venvs/shinra/bin/gunicorn -c /home/ubuntu/venvs/shinra/bin/python /home/ubuntu/shinra/scripts/gunicorn_config.py shinra.wsgi` | 2017-06-21T01:12:42.620460 | Blossom | pythondev_help_Blossom_2017-06-21T01:12:42.620460 | 1,498,007,562.62046 | 82,555 |
pythondev | help | running `/home/ubuntu/venvs/shinra/bin/gunicorn -c /home/ubuntu/shinra/scripts/gunicorn_config.py shinra.wsgi` only works inside my virtual env and not with supervisor | 2017-06-21T01:13:55.628069 | Blossom | pythondev_help_Blossom_2017-06-21T01:13:55.628069 | 1,498,007,635.628069 | 82,556 |
pythondev | help | never mind, I got it to work now, my directories were all wrong | 2017-06-21T01:24:12.697071 | Blossom | pythondev_help_Blossom_2017-06-21T01:24:12.697071 | 1,498,008,252.697071 | 82,557 |
pythondev | help | If this data is going to be used in a form that you post the json some where look at might help <https://github.com/kushalpandya/JSONify> | 2017-06-21T07:23:40.291050 | Cristine | pythondev_help_Cristine_2017-06-21T07:23:40.291050 | 1,498,029,820.29105 | 82,558 |
pythondev | help | Hello, are there open source APIs to access street traffic feed live? | 2017-06-21T07:23:42.291368 | Clarence | pythondev_help_Clarence_2017-06-21T07:23:42.291368 | 1,498,029,822.291368 | 82,559 |
pythondev | help | <@Clarence> it's more likely that individual cities and towns will be responsible for publishing feeds if they want to | 2017-06-21T07:25:50.320087 | Vada | pythondev_help_Vada_2017-06-21T07:25:50.320087 | 1,498,029,950.320087 | 82,560 |
pythondev | help | so no global one | 2017-06-21T07:25:53.320532 | Vada | pythondev_help_Vada_2017-06-21T07:25:53.320532 | 1,498,029,953.320532 | 82,561 |
pythondev | help | Hi guys, im developing an app in React. It has some content that i need to send to a database, not sure how to get it to communicate. I'm using React, Axios, Django. Any examples or things i need to be looking at? | 2017-06-21T07:54:16.690963 | Holli | pythondev_help_Holli_2017-06-21T07:54:16.690963 | 1,498,031,656.690963 | 82,562 |
pythondev | help | I'd suggest `django-rest-framework` for django. Will make the API construction easier | 2017-06-21T07:58:08.744474 | Meg | pythondev_help_Meg_2017-06-21T07:58:08.744474 | 1,498,031,888.744474 | 82,563 |
pythondev | help | <@Meg> so using a simple ajax request using axios or jquery i can post my contents over this API to the database? | 2017-06-21T07:58:47.753372 | Holli | pythondev_help_Holli_2017-06-21T07:58:47.753372 | 1,498,031,927.753372 | 82,564 |
pythondev | help | and if you're not doing so, use `create-react-app` to get a good project boilerplate with a very high quality webpack configuration | 2017-06-21T07:58:50.754053 | Meg | pythondev_help_Meg_2017-06-21T07:58:50.754053 | 1,498,031,930.754053 | 82,565 |
pythondev | help | so, what happens is when you wire up `axios` in your react app, it creates a request to the server via GET, PUT, POST, etc | 2017-06-21T07:59:26.762347 | Meg | pythondev_help_Meg_2017-06-21T07:59:26.762347 | 1,498,031,966.762347 | 82,566 |
pythondev | help | and while you can think of this as similar to jquery's `$.ajax()` method, its a little different | 2017-06-21T07:59:59.769616 | Meg | pythondev_help_Meg_2017-06-21T07:59:59.769616 | 1,498,031,999.769616 | 82,567 |
pythondev | help | ok | 2017-06-21T08:00:03.771170 | Holli | pythondev_help_Holli_2017-06-21T08:00:03.771170 | 1,498,032,003.77117 | 82,568 |
pythondev | help | have you done anything like this before? | 2017-06-21T08:00:11.774002 | Meg | pythondev_help_Meg_2017-06-21T08:00:11.774002 | 1,498,032,011.774002 | 82,569 |
pythondev | help | no thats why im kind of confused | 2017-06-21T08:00:19.775990 | Holli | pythondev_help_Holli_2017-06-21T08:00:19.775990 | 1,498,032,019.77599 | 82,570 |
pythondev | help | ive been able to feed data into my react components | 2017-06-21T08:00:27.778405 | Holli | pythondev_help_Holli_2017-06-21T08:00:27.778405 | 1,498,032,027.778405 | 82,571 |
pythondev | help | but now posting to the django setup | 2017-06-21T08:00:38.781111 | Holli | pythondev_help_Holli_2017-06-21T08:00:38.781111 | 1,498,032,038.781111 | 82,572 |
pythondev | help | its not so clear in my mind | 2017-06-21T08:00:45.783011 | Holli | pythondev_help_Holli_2017-06-21T08:00:45.783011 | 1,498,032,045.783011 | 82,573 |
pythondev | help | im going through the DRF tutorial | 2017-06-21T08:00:55.785658 | Holli | pythondev_help_Holli_2017-06-21T08:00:55.785658 | 1,498,032,055.785658 | 82,574 |
pythondev | help | dos my axios post request need to point to a view URL that takes in a post, grabs what i send and stores? | 2017-06-21T08:01:17.791153 | Holli | pythondev_help_Holli_2017-06-21T08:01:17.791153 | 1,498,032,077.791153 | 82,575 |
pythondev | help | correct | 2017-06-21T08:01:22.792508 | Meg | pythondev_help_Meg_2017-06-21T08:01:22.792508 | 1,498,032,082.792508 | 82,576 |
pythondev | help | and if you're using DRF, the URL is mapped to at least an `APIView` implementation | 2017-06-21T08:01:50.799079 | Meg | pythondev_help_Meg_2017-06-21T08:01:50.799079 | 1,498,032,110.799079 | 82,577 |
pythondev | help | which contains a `get(self, request, ...)` or `post(self, request, ...)` implementation | 2017-06-21T08:02:34.810096 | Meg | pythondev_help_Meg_2017-06-21T08:02:34.810096 | 1,498,032,154.810096 | 82,578 |
pythondev | help | ok | 2017-06-21T08:02:41.811917 | Holli | pythondev_help_Holli_2017-06-21T08:02:41.811917 | 1,498,032,161.811917 | 82,579 |
pythondev | help | so all that classic jazz if request.GET | 2017-06-21T08:03:03.817560 | Holli | pythondev_help_Holli_2017-06-21T08:03:03.817560 | 1,498,032,183.81756 | 82,580 |
pythondev | help | etc. | 2017-06-21T08:03:05.818010 | Holli | pythondev_help_Holli_2017-06-21T08:03:05.818010 | 1,498,032,185.81801 | 82,581 |
pythondev | help | out the window | 2017-06-21T08:03:16.820788 | Meg | pythondev_help_Meg_2017-06-21T08:03:16.820788 | 1,498,032,196.820788 | 82,582 |
pythondev | help | Could you point me to any documentation, guides, tuts that i could look up? i fail to communicate what i am searching on google | 2017-06-21T08:03:38.826127 | Holli | pythondev_help_Holli_2017-06-21T08:03:38.826127 | 1,498,032,218.826127 | 82,583 |
pythondev | help | brings up different stuff | 2017-06-21T08:03:45.827706 | Holli | pythondev_help_Holli_2017-06-21T08:03:45.827706 | 1,498,032,225.827706 | 82,584 |
pythondev | help | a simplified example is what i need from somewhere to just establish an easy proof of work | 2017-06-21T08:04:15.834801 | Holli | pythondev_help_Holli_2017-06-21T08:04:15.834801 | 1,498,032,255.834801 | 82,585 |
pythondev | help | server side or client side? | 2017-06-21T08:04:28.838122 | Meg | pythondev_help_Meg_2017-06-21T08:04:28.838122 | 1,498,032,268.838122 | 82,586 |
pythondev | help | I mean, the DRF tutorial is pretty good | 2017-06-21T08:04:39.840860 | Meg | pythondev_help_Meg_2017-06-21T08:04:39.840860 | 1,498,032,279.84086 | 82,587 |
pythondev | help | yeh perhaps client sided | 2017-06-21T08:04:46.842496 | Holli | pythondev_help_Holli_2017-06-21T08:04:46.842496 | 1,498,032,286.842496 | 82,588 |
pythondev | help | sending the post request to the DRF API | 2017-06-21T08:04:54.844381 | Holli | pythondev_help_Holli_2017-06-21T08:04:54.844381 | 1,498,032,294.844381 | 82,589 |
pythondev | help | ah ok | 2017-06-21T08:04:58.845299 | Meg | pythondev_help_Meg_2017-06-21T08:04:58.845299 | 1,498,032,298.845299 | 82,590 |
pythondev | help | processing it | 2017-06-21T08:04:58.845399 | Holli | pythondev_help_Holli_2017-06-21T08:04:58.845399 | 1,498,032,298.845399 | 82,591 |
pythondev | help | <https://daveceddia.com/ajax-requests-in-react/> | 2017-06-21T08:05:26.852264 | Meg | pythondev_help_Meg_2017-06-21T08:05:26.852264 | 1,498,032,326.852264 | 82,592 |
pythondev | help | so that would help client side | 2017-06-21T08:05:32.853778 | Meg | pythondev_help_Meg_2017-06-21T08:05:32.853778 | 1,498,032,332.853778 | 82,593 |
pythondev | help | server side, really depends on _what_ data you're sending | 2017-06-21T08:05:42.855971 | Meg | pythondev_help_Meg_2017-06-21T08:05:42.855971 | 1,498,032,342.855971 | 82,594 |
pythondev | help | <@Mirna> I am trying to get the value inside the li and strip out some text. I will test your code | 2017-06-21T08:05:49.857747 | Yessenia | pythondev_help_Yessenia_2017-06-21T08:05:49.857747 | 1,498,032,349.857747 | 82,595 |
pythondev | help | and whether you need to seiralize it to a model instance | 2017-06-21T08:05:51.858231 | Meg | pythondev_help_Meg_2017-06-21T08:05:51.858231 | 1,498,032,351.858231 | 82,596 |
pythondev | help | <@Mirna> Thanks | 2017-06-21T08:05:58.859862 | Yessenia | pythondev_help_Yessenia_2017-06-21T08:05:58.859862 | 1,498,032,358.859862 | 82,597 |
pythondev | help | yeh i would i'll be sending json to the database | 2017-06-21T08:06:05.861701 | Holli | pythondev_help_Holli_2017-06-21T08:06:05.861701 | 1,498,032,365.861701 | 82,598 |
pythondev | help | thanks for the help though | 2017-06-21T08:06:17.864612 | Holli | pythondev_help_Holli_2017-06-21T08:06:17.864612 | 1,498,032,377.864612 | 82,599 |
pythondev | help | it confirms im heading in the right direction with DRF | 2017-06-21T08:06:25.866481 | Holli | pythondev_help_Holli_2017-06-21T08:06:25.866481 | 1,498,032,385.866481 | 82,600 |
pythondev | help | yeah | 2017-06-21T08:06:29.867311 | Meg | pythondev_help_Meg_2017-06-21T08:06:29.867311 | 1,498,032,389.867311 | 82,601 |
pythondev | help | and what makes things easy is it can handle the serialization/deserialization for you | 2017-06-21T08:06:44.870996 | Meg | pythondev_help_Meg_2017-06-21T08:06:44.870996 | 1,498,032,404.870996 | 82,602 |
Subsets and Splits