Login
Discover
Waves
Communities
Raidstead
Write
Login
Signup
Topics
#
steempython
Explore topics
#steempython
Global
Trending
Hot
New
Payout
Muted
Promoted
#steempython
New
#steempython
Follow to get notified about new posts with this tag
Get #steempython by email
Follow
june0620
mini.topia
6y
[Python #17] [Django #10] 검색 기능에 UI 추가
pixabay 검색 기능에 UI를 추가한다. HTML의 form으로 우선 먼저 가볍게 구현해 보자. (깊게 구현할 능력도 안됨ㅎㅎ) form 추가 먼저 django의 templates 폴더의 base.html 에 form 을 넣는다. action은 일단 하드코딩으로 /@june0620/search로 한다. 계정명은 변수로 처리하고 싶은데 안된다. ㅠ (#연구필요#장고초자)
$ 3.048
69
1
1
june0620
mini.topia
6y
[Python #16] [Django #9] 7일전 보상 0으로 노출되는 문제 해결
pixabay 이 글에서도 언급했던 7일 전 포스팅 보상이 0으로 노출되는 문제를 해결해 본다. pending_payout_value 값을 썼는데 7일전 포스팅은 이미 보상이 완료됐기때문에 해당 키값이 0으로 되면서 발생한 문제였다. get_blog 함수 리스폰스 값을 확인 결과 7일전 보상은 total_payout_value 를 쓰면 될 것 같다.
$ 1.552
57
1
june0620
HIVE CN 中文社区
6y
[Python #15] [Django #8] 开发完,需测试
pixabay 开发完功能应该要做什么?继续开发下一个功能?不~ 应需要测试,测试是必须的。 上期开发的搜索功能也需要我测试。 幸好python提供一个库叫unittest,django也具备了基于unittest的库。 django默认创建的文件里也存在着一个叫tests.py的文件。 在这里我需要添加些测试代码。 组合用例 最麻烦也最重要的就是组合测试用例。 三个选项 tags, titles,
june0620
HIVE CN 中文社区
6y
[Python #13] [Django #6] 搜索我的文章
pixabay 今天解决一下我最需要的搜索我的文章功能。 先简单的实现搜索标签,标题,内容。 关键词定义为 dict,里面装tags,titles,texts三个条件,并都设置为list。 query = { 'tags': [], 'titles': [], 'texts': [] } 初步逻辑是,1)创建空list 2)从我的文章列表抽取包含关键词的文章并保存到这个list。
cliffblank
Tarot Community
4d
Published via Ecency
Promoted
Think of your question.
Think of your question.
june0620
mini.topia
6y
[Python #11] [Django #4] Bootstrap 으로 페이지 예쁘게 꾸미기
pixabay Bootstrap을 사용하여 지난번에 구현한 스팀 포스팅 목록을 예쁘게 꾸며보자. html, css 초급 레벨인 나에게 Bootstrap은 아주 좋은 템플릿으로 사용될 것 같다. html 파일 생성 및 설정 👇 지난번과 마찬가지로 templates폴더에 album.html과 base.html을 생성 후 views.py에서 template_name을
thatsabingo
steempython
8y
I'm testing some stuff - don't worry about it
testing autopost stuffffff
thatsabingo
script
8y
I'm testing some stuff - aint no thang
testing testing test post baby! HOLY BALLS IT'S STILL WORKING?!?!
thatsabingo
steempy
8y
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!!
sorin.cristescu
political-philosophy
4d
Published via Ecency
Promoted
I went to watch "Naza"
What is "Naza"? For those who haven't heard of it yet, it's a recent documentary about Israel's war in Gaza
thatsabingo
python
8y
I'm testing some stuff -- don't worry about it
testing testing test post baby!
anthonyadavisii
python
8y
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
iamredbar
steemdev
9y
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
amosbastian
utopian-io
9y
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
wiseagent
Scrobble.life
1d
Promoted
MOVIE REVIEW: “Power Ballad” (2026)
This publication was also writen in SPANISH and PORTUGUESE. IMDb Synopsis: A wedding singer who works in a band presents one of his compositions to a former member of a famous boy band during an impromptu
emrebeyler
steempython
9y
.
.
emrebeyler
steempython
9y
.
.
anthonyadavisii
steemdev
9y
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
emrebeyler
steempython
9y
.
.
lesmann
We Are Alive Tribe
1d
Published via Ecency
Promoted
A few flowers from my Alive and Thriving bike ride today!
Happy #aliveandthriving Tuesday afternoon/evening to you and thank you for your visit! So this afternoon I took a short 4 mile / 6.437 kilometer bike ride - trying to get the numbers up. While I was out
cardboard
steemdata
9y
Steem-Python: how to change node?
Hi guys, I'm using piston + steem-python on virtual ubuntu. Quick question here: how to change node? In previous version is was hardcoded in storage.py but now I can not find it. Thanks in advance!
Discover communities
Explore communities
Create your community