profile
๐ŸŽ“์˜์ง€์ ์ธ ์‚ถ์„ ์‚ด์ž!๐Ÿ˜Š
ํƒœ๊ทธ ๋ชฉ๋ก
์ „์ฒด๋ณด๊ธฐ (42)Java(18)TIL(13)python(7)django(4)algorithm(3)brute force(3)ํ”„๋กœ์ ํŠธ(3)static(3)T๋ฉ”๋ชจ๋ฆฌ(3)์ถ”์ƒํ™”(3)Codeit(2)CSS(2)์นด์นด์˜คํ”„๋ Œ์ฆˆ(2)ํด๋ก (2)heap(2)Remind(2)stack(2)๊ฐ์ฒด(2)ํด๋ก ํ”„๋กœ์ ํŠธ(2)์•Œ๊ณ ๋ฆฌ์ฆ˜(2)API(1)public(1)relative(1)์ ˆ์ฐจ์ (1)Restful(1)์ง€์—ญ๋ณ€์ˆ˜(1)REST(1)๋ฉ€ํ‹ฐํ”„๋กœ์„ธ์Šค(1)์นด์นด์˜ค(1)์‹œ๋ฉ˜ํ‹ฑ ์›น(1)๊ฐ์ฒด๋ฉค๋ฒ„(1)์‹œ๋ฉ˜ํ‹ฑ ํƒœ๊ทธ(1)project(1)์Šคํƒœํ‹ฑ์˜์—ญ(1)Generators(1)ํœดํ•™์ƒ(1)many to many(1)ํ™•์žฅ(1)์ทจ์ค€(1)์บก์Šํ™”(1)Module(1)ํด๋ ˆ์Šค๋ฉค๋ฒ„๋ณ€์ˆ˜(1)float(1)one to many(1)fixed(1)ํž™๋ฉ”๋ชจ๋ฆฌ(1)clean(1)grammar(1)parameter(1)Call By Value(1)๋„ค์ด๋ฒ„expert(1)SOLID(1)model(1)method(1)JRE(1)Backend(1)์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๊ฒฝ๊ณ„(1)๋ชจ๋ธ๋ง(1)ํด๋ž˜์Šค๋ฉค๋ฒ„(1)์ธ์Šคํ„ด์Šค(1)๋ฉ€ํ‹ฐ์Šค๋ ˆ๋“œ(1)one to one(1)ํž™์˜์—ญ(1)default(1)INFO(1)bruteforce(1)์ฝ”๋“œ์ž‡(1)inline block(1)protected(1)JVM(1)์ „์—ญ๋ณ€์ˆ˜(1)block(1)clean_fields(1)์ฝ”๋”ฉ์บ ํ”„(1)inline(1)ํด๋ž˜์Šค(1)์Šคํƒ์˜์—ญ(1)์ฝ”๋”ฉ์บ ํ”„์ธ์ฆ(1)์žฌ์‚ฌ์šฉ(1)๊ฐ์ฒด์ง€ํ–ฅ(1)์ƒ์†(1)๊ฐ์ฒด๋ฉค๋ฒ„๋ณ€์ˆ˜(1)๋ณ€์ˆ˜(1)๊ตฌ์กฐ์ (1)jdk(1)WeCode(1)๋ธ”๋ก ์Šคํƒ ํ”„๋ ˆ์ž„(1)์˜ค๋ฒ„๋ผ์ด๋”ฉ(1)private(1)full_clean(1)์˜ค๋ฒ„๋กœ๋”ฉ(1)๋Œ€์™ธํ™œ๋™(1)์Šคํƒํ”„๋ ˆ์ž„(1)๋ฉ”๋ชจ๋ฆฌ(1)argument(1)function(1)position(1)๋‹ค์ค‘์ƒ์†(1)package(1)์ž๋ฃŒ๊ตฌ์กฐ(1)์ธํ”„๋Ÿฐ(1)absolute(1)
post-thumbnail

๋„ค์ด๋ฒ„ Expert๋ฅผ ๋ชจํ‹ฐ๋ธŒ๋กœ ํ•œ ํ”„๋กœ์ ํŠธ - 2์ฐจ

๋„ค์ด๋ฒ„ Expert ํด๋ก  ํ”„๋กœ์ ํŠธ ๐Ÿ”… ํ”„๋กœ์ ํŠธ ์ •๋ณด๐Ÿ”… โœ  ์ฃผ์ œ : ๋„ค์ด๋ฒ„ expert ์‚ฌ์ดํŠธ๋งŒ ๋ณด๊ณ , ๊ธฐํš/๋ชจ๋ธ๋ง ๋“ฑ์„ ์ง„ํ–‰ โœ  ๊ฐœ๋ฐœ ๊ธฐ๊ฐ„: 2021/06/21 ~ 2021/7/02 โœ  ๊ฐœ๋ฐœ ์ธ์› : ํ”„๋ก ํŠธ 2๋ช…/ ๋ฐฑ์—”๋“œ 3๋ช… โœ

2021๋…„ 7์›” 4์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€

Django - Many To Many

Many-To-Many ํ‘œํ˜„ ๋ฐฉ์‹ ManyToManyField ์‚ฌ์šฉ ๐Ÿ‘‹ ์‚ฌ์šฉ๋ฐฉ๋ฒ• > โ–ถ๏ธ models.ManyToManyField(์ฐธ์กฐํ•  ํด๋ž˜์Šค ์ด๋ฆ„) ex ) Movie - Actor (Many-to-Many๊ด€๊ณ„) ํ•„๋“œ ์‚ฌ์šฉ๋งŒ์œผ๋กœ๋„ ํ…Œ์ด๋ธ”์ด ์ž๋™์ƒ์„ฑ ๋œ๋‹ค. ๐Ÿ‘‹

2021๋…„ 6์›” 6์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

Django : full_clean() vs clean_fields() vs clean()

๊ฐœ๋… ์ •๋ฆฌ!

2021๋…„ 6์›” 4์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

Django : one-to-one & one-to-many

์Šคํƒ€๋ฒ…์Šค ๋ชจ๋ธ๋ง์„ ํ•˜๋‹ค๊ฐ€ Product ์™€ Nutrition์˜ one-to-one ๊ด€๊ณ„๋ฅผ one-to-many์™€ ๋˜‘๊ฐ™์ด ForeignKey๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋‚˜ํƒ€๋‚ด๋ฉด ๋˜๋Š”์ค„ ์•Œ๊ณ  ์ฒ˜์Œ์—” ๋˜‘๊ฐ™์€ ๋ฐฉ์‹์œผ๋กœ ๋‘˜์˜ ๊ด€๊ณ„๋ฅผ ์—ฐ๊ฒฐํ•˜์˜€๋‹ค. ํ•˜์ง€๋งŒ, one-to-one ๊ด€๊ณ„๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ํ•„๋“œ

2021๋…„ 5์›” 24์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€