Discover
Communities
Decks
Login
Discover
Communities
Decks
Buy perks
Login
Signup
Topics
New
Trending
Hot
New
New
Friends
Trending
Hot
New
Controversial
Rising
Promoted
steempython
june0620
mini.topia
4y
[Python #17] [Django #10] 검색 기능에 UI 추가
pixabay 검색 기능에 UI를 추가한다. HTML의 form으로 우선 먼저 가볍게 구현해 보자. (깊게 구현할 능력도 안됨ㅎㅎ) form 추가 먼저 django의 templates 폴더의 base.html 에 form 을 넣는다. action은 일단 하드코딩으로 /@june0620/search로 한다. 계정명은 변수로 처리하고 싶은데 안된다. ㅠ (#연구필요#장고초자)
$ 3.048
69
1
june0620
mini.topia
4y
[Python #16] [Django #9] 7일전 보상 0으로 노출되는 문제 해결
pixabay 이 글에서도 언급했던 7일 전 포스팅 보상이 0으로 노출되는 문제를 해결해 본다. pending_payout_value 값을 썼는데 7일전 포스팅은 이미 보상이 완료됐기때문에 해당 키값이 0으로 되면서 발생한 문제였다. get_blog 함수 리스폰스 값을 확인 결과 7일전 보상은 total_payout_value 를 쓰면 될 것 같다.
$ 1.552
57
june0620
HIVE CN 中文社区
4y
[Python #15] [Django #8] 开发完,需测试
pixabay 开发完功能应该要做什么?继续开发下一个功能?不~ 应需要测试,测试是必须的。 上期开发的搜索功能也需要我测试。 幸好python提供一个库叫unittest,django也具备了基于unittest的库。 django默认创建的文件里也存在着一个叫tests.py的文件。 在这里我需要添加些测试代码。 组合用例 最麻烦也最重要的就是组合测试用例。 三个选项 tags, titles,
$ 8.297
76
4
june0620
HIVE CN 中文社区
4y
[Python #13] [Django #6] 搜索我的文章
pixabay 今天解决一下我最需要的搜索我的文章功能。 先简单的实现搜索标签,标题,内容。 关键词定义为 dict,里面装tags,titles,texts三个条件,并都设置为list。 query = { 'tags': [], 'titles': [], 'texts': [] } 初步逻辑是,1)创建空list 2)从我的文章列表抽取包含关键词的文章并保存到这个list。
$ 11.124
80
6
cybercity
music
5d
Promoted
Let’s Talk Deep House 🔊 #1 [ENG/PT/ESP]
You can bug this Album here. Enjoy! Lets get to the playlist: I accidentally found it on YouTube! That’s great! Let me show you my favorites: Ole Eb & Andrea Hamilton - Lost (Low Low Low) Don Gianni,
$ 0.287
48
1
1
june0620
mini.topia
4y
[Python #11] [Django #4] Bootstrap 으로 페이지 예쁘게 꾸미기
pixabay Bootstrap을 사용하여 지난번에 구현한 스팀 포스팅 목록을 예쁘게 꾸며보자. html, css 초급 레벨인 나에게 Bootstrap은 아주 좋은 템플릿으로 사용될 것 같다. html 파일 생성 및 설정 👇 지난번과 마찬가지로 templates폴더에 album.html과 base.html을 생성 후 views.py에서 template_name을
$ 2.490
54
1
thatsabingo
steempython
6y
I'm testing some stuff - don't worry about it
testing autopost stuffffff
$ 0.135
2
1
thatsabingo
script
6y
I'm testing some stuff - aint no thang
testing testing test post baby! HOLY BALLS IT'S STILL WORKING?!?!
$ 0.144
3
thatsabingo
steempy
6y
I'm testing some stuff -- don't worry about it
testing testing test post baby! checking to make sure that I diidn't break it again!!
$ 0.147
2
mdkironkhna
Photography Lovers
1d
Promoted
A picture of a wonderful moment with friends by the sea.
Some time ago, we all went for a walk by the sea. About ten of you went, I left for the beach at ten o'clock, I went there and had some breakfast, then got ready to go to the sea. ( After my many swims
$ 0.655
10
3
thatsabingo
python
6y
I'm testing some stuff -- don't worry about it
testing testing test post baby!
$ 0.147
3
anthonyadavisii
python
6y
Python to Convert String Representation of JSON (On Reblogs) to Dictionary
This might just help you if you are dealing with custom_json account history IE resteems Let's say you have obtained custom_json from account history using the get_account_history method of a Steem Account
$ 1.351
20
4
iamredbar
steemdev
7y
Starting a Programming Journey (Python & Steemit)
It all begins with a single step... Usually in the wrong direction. Over the past five days or so, I have done many hours of reading, formatting, more reading, downloading, reformatting, installing, wrecking
$ 23.805
65
13
amosbastian
utopian-io
7y
AttributeError: 'Steemd' object has no attribute 'commit' in steem-python
When using the functions buy(), sell() and cancel() from dex.py / the Dex class it returns the following error AttributeError: 'Steemd' object has no attribute 'commit' Expected behavior When executing
$ 17.499
10
3
havandris
CCH
3d
Promoted
A day in Playa Baracoa Un día por Playa Baracoa Beach
Playa Baracoa Baracoa Beach is located in Bauta, Artemisa, Cuba. It is not the best beach in the world but it is so beautiful and nice. It looks like a beach in the countryside or a countryside in the
$ 5.900
216
17
2
emrebeyler
steempython
7y
List of steem-python tutorials
2 months ago, I have started writing steem-python tutorials on Utopian. As today, I feel I have covered the most important topics and decided to finish the series. Full List steem-python for dummies #1
$ 14.901
54
17
emrebeyler
steempython
7y
Note to steem-python users, your application may be broken at the moment
A couple of months ago -with the jussi onboarding- steemit devs announced that steemd.steemit.com will be deprecated at some point in favor of jussi (api.steemit.com) (Default node selection on steem-python)
$ 44.751
60
12
anthonyadavisii
steemdev
7y
Steem Python BIP38 Wallet Error with Fix
Good evening Steem Scripters, I had recently exercised what I like to call the nuclear option regarding my Ubuntu virtual machine when I began receiving NoneType errors. In other words, I completely blew
$ 1.274
9
3
emrebeyler
utopian-io
7y
steem-python for dummies #11 - Listening new blocks
Hello, This is the 11. post of "steem-python for dummies" series. If you didn't read the older ones take your time and have a look. (Just realizing we have already completed 10 posts!) steem-python
$ 42.846
60
7
luislrt
tribus
2d
Promoted
3D | Impresión de cajas YU-GI-HO!
Aquí les comparto unas cajas que estoy sacando para entregar mañana, me faltan los deparadores de cartas pero luego de sacar las 2 impresiones mañana dejo sacando los separadores! Admito que con esta impresión
$ 0.018
10
emrebeyler
steempython
7y
Exploring sndbox members with a little bit over-engineering
Hello, I have joined to @sndbox this month. I am very excited to be a part of this community. However, one thing I didn't do well yet -due to my limited time lately- exploring the people in the @sndbox.
$ 63.575
87
7
emrebeyler
utopian-io
7y
steem-python for dummies #10 - Listening specific accounts
Hello, This is the 10. post of "steem-python for dummies" series. If you didn't read the older ones take your time and have a look. steem-python for dummies #1 - Introduction and Basic Operations
$ 21.394
49
12
emrebeyler
utopian-io
7y
steem-python for dummies #9 - Creating orders in the market
Hello, This is the 9. post of "steem-python for dummies" series. If you didn't read the older ones take your time and have a look. steem-python for dummies #1 - Introduction and Basic Operations
$ 27.321
62
22
emrebeyler
utopian-io
7y
steem-python for dummies #8 - Calculating post rewards
Hello, This is the 8. post of "steem-python for dummies" series. If you didn't read the older ones take your time and have a look. steem-python for dummies #1 - Introduction and Basic Operations
$ 17.602
51
11
Top communities