Explore tweets tagged as #dumpdata
@testdrivenio
TestDriven.io
2 years
Django tip: " https://t.co/edreOC1oMY dumpdata" exports your Django application's data into a JSON or XML format. This command serializes data from the database, including models and their related data. You can use it for creating test fixtures. Example 👇
0
10
68
@testdrivenio
TestDriven.io
1 year
Django tip: Set the "--exclude EXCLUDE" flag with dumpdata to skip specific apps or models during export. Example 👇
0
5
14
@GabrielTrouve
Trouvé Gabriel
1 year
J'adore ce genre de petites astuces avec #django Pendant le dumpdata on peut indenter direct les données dans notre json. #Python
1
0
2
@testdrivenio
TestDriven.io
1 year
Django tip: Use python https://t.co/edreOC0QXq dumpdata to export your database to JSON or other formats. When saved as a file, it can serve as a fixture for tests or as initial data for new projects. Example 👇
1
10
46
@GabrielTrouve
Trouvé Gabriel
2 years
En plus le projet actuel s'y prête bien ! J'ai récupéré les données de mon json créé avec dumpdata.
0
0
0
@djv_mo
dj 🇵🇸
2 years
🇵🇸 Django Command tip:#python #django #command #database loaddata and dumpdata are management commands used to load and dump data from the database. #tip #tips #tipoftheday #databases #100daysofcode #djv_mo #json #djangowebdeveloper
0
0
0
@testdrivenio
TestDriven.io
1 year
Django tip: Set the "--format FORMAT" flag with dumpdata to specify the output format, such as json, xml, or yaml. This controls how the exported data is structured. Example 👇
0
0
31
@testdrivenio
TestDriven.io
1 year
Django tip: Set the "--indent INDENT" flag with dumpdata to define how many spaces to use for indentation, making the output more readable. Example 👇
0
2
19
@abstarnews_
Ab Star News 24×7
1 year
सैफ अली खान पर हमला: मोबाइल डंप डेटा के आधार पर हुई आरोपी की पहचान #SaifAliKhan #SaifAliKhanAttacked #SaifAliKhanNews #Taimur #accused #mobile #dumpdata #MumbaiPolice #LatestNews #ABStarNews
0
0
0
@MoneycontrolH
Moneycontrol Hindi
2 months
#DelhiBlast | दिल्ली में लाल किले के पास हुए कार विस्फोट के बाद जांच एजेंसियां घटना स्थल के आसपास के मोबाइल फोन का 'डंप डेटा' जुटाने में जुट गई हैं। https://t.co/M2CuvLHUY8 #dumpdata #Delhi
0
0
0
@DDSFILT
DDS@Docker/Python/Django/ASP.NET/CSharpとガーデニングも好き
2 years
Django でテーブルのデータをダンプするには、下記のように dumpdata コマンドを使います。 python https://t.co/0UDXJJ91mk dumpdata accounts.CustomUser -o CustomUser.json --indent 2 これで JSON 形式で出力されます。 #Python #Django
0
0
11
@YumihikiDev
nibu
1 year
3週間ぶりにブログ更新をちょっとできました。またぼちぼち再開していける...かも?(この後に少し家探しの用事を経て、まずは一段落しそうです) はてなブログに投稿しました dumpdataとloaddata - take IT easy https://t.co/3wt3pBbkty #はてなブログ
0
1
7
@k_tacafe
Tacafe div0
2 years
djangoって、railsのdb seedタスクみたいな書きやすい仕組みないん? 「fixtureにjson置くとloaddataコマンドで登録できるよ」っていうのあるけど、ユーザーとかパスワードハッシュ値で指定したりするの面倒だお? 「dumpdataで出せるよ?」っていうのあるけど、railsみたいにormでseeder書きたいな?
1
0
1
@moyix
Brendan Dolan-Gavitt
2 years
@mitsuhiko Yes. At least one of my students trips over this every year, often by doing something innocent like creating a fixture in Django with "python https://t.co/az4UXzfsDD dumpdata > testdata.json" :(
0
0
4
@yamaneko1212
KANEKO Ryosuke
2 years
むむ、Djangoのdumpdataのserializerはdatetimeをマイクロ秒の桁を捨てるのか. これは困るな.
0
0
1
@SHHtPD0g
мълчалив██████████
3 years
acabo de ver un trojan que guarda logs como ./dumpdata/ y eso me ha hecho muy feliz
0
0
0
@chatrate0621
チャット@てくにかるでぃれくたぁ
3 years
I am very impressed with Django's dumpdata and loaddata, which are properly usable features.
0
0
0
@le_yonsu
とある左利きの人
2 years
#今日の積み上げ ✅loaddataとdumpdataコマンド使い方 ✅バックアップしたjsonファイルを編集してリストア DBの編集が簡単にできる🤤コマンドすげー! #駆け出しエンジニア #駆け出しエンジニアと繋がりたい #Django
0
0
11
@Jilles
Jilles Soeters
30 days
I am migrating several of my Django applications from SQLite to Postgres and let me tell you: Django's dumpdata/loaddata made this SO easy. For my SvelteKit application I had to write a custom migration script..
1
0
5